Non-persisted users already have the identity by way of build_new_user.
This commit is contained in:
parent
bf7932bd06
commit
c43411e97a
|
@ -39,6 +39,8 @@ module Gitlab
|
|||
end
|
||||
|
||||
def update_user_attributes
|
||||
return unless persisted?
|
||||
|
||||
gl_user.skip_reconfirmation!
|
||||
gl_user.email = auth_hash.email
|
||||
|
||||
|
|
Loading…
Reference in New Issue