forked from kevadesu/forgejo
clean tail
This commit is contained in:
parent
d4565483e6
commit
24d0ca4aa0
2 changed files with 5 additions and 6 deletions
|
@ -109,6 +109,9 @@ func SocialSignIn(ctx *middleware.Context, tokens oauth2.Tokens) {
|
|||
}
|
||||
case models.ErrOauth2NotAssociatedWithUser:
|
||||
// pass
|
||||
default:
|
||||
log.Error(err) // FIXME: handle error page
|
||||
return
|
||||
}
|
||||
ctx.Session.Set("socialId", oa.Id)
|
||||
log.Info("socialId: %v", oa.Id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue