Commit 61a403ff authored by Paweł Świątkowski's avatar Paweł Świątkowski Committed by katafrakt

ensure that uid is a string

parent d1e424bd
...@@ -61,7 +61,9 @@ module Gitlab ...@@ -61,7 +61,9 @@ module Gitlab
end end
def uid def uid
auth.info.uid || auth.uid uid = auth.info.uid || auth.uid
uid = uid.to_s unless uid.nil?
uid
end end
def email 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