Merge pull request #7141 from PuzzleFlow/uid_should_always_be_string
Ensure that uid in OAuth is a string
This commit is contained in:
commit
931f27ae32
|
@ -67,7 +67,9 @@ module Gitlab
|
|||
end
|
||||
|
||||
def uid
|
||||
auth.info.uid || auth.uid
|
||||
uid = auth.info.uid || auth.uid
|
||||
uid = uid.to_s unless uid.nil?
|
||||
uid
|
||||
end
|
||||
|
||||
def email
|
||||
|
|
Loading…
Reference in New Issue