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
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