mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 01:26:08 +10:00
Merge pull request #7141 from PuzzleFlow/uid_should_always_be_string
Ensure that uid in OAuth is a string
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user