Commit c43411e9 authored by Douwe Maan's avatar Douwe Maan

Non-persisted users already have the identity by way of build_new_user.

parent bf7932bd
...@@ -39,6 +39,8 @@ module Gitlab ...@@ -39,6 +39,8 @@ module Gitlab
end end
def update_user_attributes def update_user_attributes
return unless persisted?
gl_user.skip_reconfirmation! gl_user.skip_reconfirmation!
gl_user.email = auth_hash.email gl_user.email = auth_hash.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