Commit 1547c1532180dca7d06de475cc25eb42426076d8
Exists in
master
and in
1 other branch
Merge pull request #413 from iFixit/passwords-increase-max-length
Passwords: bump max length to 1024
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/initializers/devise.rb
... | ... | @@ -69,7 +69,7 @@ Devise.setup do |config| |
69 | 69 | |
70 | 70 | # ==> Configuration for :validatable |
71 | 71 | # Range for password length |
72 | - config.password_length = 6..20 | |
72 | + config.password_length = 6..1024 | |
73 | 73 | |
74 | 74 | # Regex to use to validate the email address |
75 | 75 | config.email_regexp = /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i | ... | ... |