Merge branch 'main' into pr/4861

This commit is contained in:
Robert Kaussow
2025-10-28 10:38:56 +01:00
committed by GitHub
39 changed files with 2354 additions and 2120 deletions

View File

@@ -210,6 +210,7 @@ func HandleAuth(c *gin.Context) {
// insert the user into the database
if err := _store.CreateUser(user); err != nil {
log.Error().Err(err).Msgf("cannot insert %s", user.Login)
log.Trace().Msgf("user was: %#v", user)
c.Redirect(http.StatusSeeOther, server.Config.Server.RootPath+"/login?error=internal_error")
return
}