mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Merge branch 'main' into pr/4861
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user