BigW Consortium Gitlab

Commit 931f27ae by Dmitriy Zaporozhets

Merge pull request #7141 from PuzzleFlow/uid_should_always_be_string

Ensure that uid in OAuth is a string
parents 9e613b91 61a403ff
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment