mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 21:07:06 +02:00
Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts: models/oauth2.go
This commit is contained in:
commit
5f6bd323f5
9 files changed
+260
-24
No files matched your search
+2
-1
@@ -44,5 +44,6 @@ func GetOauth2(identity string) (oa *Oauth2, err error) {
|
||||
} else if oa.Uid == 0 {
|
||||
return oa, ErrOauth2NotAssociatedWithUser
|
||||
}
|
||||
return GetUserById(oa.Uid)
|
||||
oa.User, err = GetUserById(oa.Uid)
|
||||
return oa, err
|
||||
}
|
||||
Reference in new issue
Block a user