1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

clean tail

This commit is contained in:
skyblue
2014-04-09 00:31:09 +08:00
parent d4565483e6
commit 24d0ca4aa0
2 changed files with 5 additions and 6 deletions

View File

@@ -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)