ensure that uid is a string

This commit is contained in:
Paweł Świątkowski
2014-06-21 11:00:54 +02:00
committed by katafrakt
parent d1e424bd5c
commit 61a403ff22
+3 -1
View File
@@ -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