mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-18 00:56:41 +10:00
Clearly distance ourselfs from AR methods
This commit is contained in:
@@ -60,7 +60,7 @@ module Gitlab
|
||||
|
||||
def initialize(auth_hash)
|
||||
super
|
||||
update_attributes
|
||||
update_user_attributes
|
||||
end
|
||||
|
||||
# instance methods
|
||||
@@ -79,7 +79,7 @@ module Gitlab
|
||||
model.find_by(email: auth_hash.email)
|
||||
end
|
||||
|
||||
def update_attributes
|
||||
def update_user_attributes
|
||||
gl_user.attributes = {
|
||||
extern_uid: auth_hash.uid,
|
||||
provider: auth_hash.provider,
|
||||
|
||||
Reference in New Issue
Block a user