Commit d13349af authored by Brian Neel's avatar Brian Neel

Merge conflict resolution

parent 8fa87ea3
...@@ -1061,6 +1061,12 @@ class User < ActiveRecord::Base ...@@ -1061,6 +1061,12 @@ class User < ActiveRecord::Base
user_synced_attributes_metadata&.read_only?(attribute) user_synced_attributes_metadata&.read_only?(attribute)
end end
# override, from Devise
def lock_access!
Gitlab::AppLogger.info("Account Locked: username=#{username} reason=invalid_login_attempts")
super
end
protected protected
# override, from Devise::Validatable # override, from Devise::Validatable
...@@ -1069,12 +1075,6 @@ class User < ActiveRecord::Base ...@@ -1069,12 +1075,6 @@ class User < ActiveRecord::Base
super super
end end
# override, from Devise
def lock_access!
Gitlab::AppLogger.info("Account Locked: username=#{username} reason=invalid_login_attempts")
super
end
private private
def ci_projects_union def ci_projects_union
......
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