mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
ensure that uid is a string
This commit is contained in:
committed by
katafrakt
parent
d1e424bd5c
commit
61a403ff22
@@ -61,7 +61,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