Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d13349af
Commit
d13349af
authored
Sep 27, 2017
by
Brian Neel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge conflict resolution
parent
8fa87ea3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/models/user.rb
app/models/user.rb
+6
-6
No files found.
app/models/user.rb
View file @
d13349af
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment