diff options
author | Unknwon <u@gogs.io> | 2015-08-08 22:43:14 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-08 22:43:14 +0800 |
commit | dea3a8c6a42ea7e4921c0e4beee5d4fd0437dbe5 (patch) | |
tree | 773b28a72cee24e4a02f3d162de8a37a8f912f59 /models/oauth2.go | |
parent | d015d951bd6959f9585d8a83acfe7bba07b7eaad (diff) | |
download | gitea-dea3a8c6a42ea7e4921c0e4beee5d4fd0437dbe5.tar.gz gitea-dea3a8c6a42ea7e4921c0e4beee5d4fd0437dbe5.zip |
WIP: create PR - choose branch
Diffstat (limited to 'models/oauth2.go')
-rw-r--r-- | models/oauth2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/oauth2.go b/models/oauth2.go index d19e248c12..a15f7b6f32 100644 --- a/models/oauth2.go +++ b/models/oauth2.go @@ -58,7 +58,7 @@ func GetOauth2(identity string) (oa *Oauth2, err error) { } else if oa.Uid == -1 { return oa, ErrOauth2NotAssociated } - oa.User, err = GetUserById(oa.Uid) + oa.User, err = GetUserByID(oa.Uid) return oa, err } |