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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1bda069e
Commit
1bda069e
authored
Dec 16, 2019
by
Manoj M J
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to Devise update issue
parent
2b3844aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
config/initializers/devise_dynamic_password_length_validation.rb
...initializers/devise_dynamic_password_length_validation.rb
+2
-0
No files found.
config/initializers/devise_dynamic_password_length_validation.rb
View file @
1bda069e
...
...
@@ -22,6 +22,8 @@ end
# This initializer can be removed as soon as https://github.com/plataformatec/devise/pull/5166
# is merged into Devise.
# TODO: Update Devise. Issue: https://gitlab.com/gitlab-org/gitlab/issues/118450
if
length_validator_supports_dynamic_length_checks?
(
password_length_validator
)
raise
"Devise now supports dynamic length checks, please remove the monkey patch in
#{
__FILE__
}
"
else
...
...
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