Clearly distance ourselfs from AR methods

parent ad1c2f79
...@@ -54,7 +54,7 @@ module Gitlab ...@@ -54,7 +54,7 @@ module Gitlab
def initialize(auth_hash) def initialize(auth_hash)
super super
update_attributes update_user_attributes
end end
# instance methods # instance methods
...@@ -73,7 +73,7 @@ module Gitlab ...@@ -73,7 +73,7 @@ module Gitlab
model.find_by(email: auth_hash.email) model.find_by(email: auth_hash.email)
end end
def update_attributes def update_user_attributes
gl_user.attributes = { gl_user.attributes = {
extern_uid: auth_hash.uid, extern_uid: auth_hash.uid,
provider: auth_hash.provider, provider: auth_hash.provider,
......
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