Commit b432df84d4bae999234660182bb0cc66894a1fe5

Authored by Daniel Beardsley
1 parent 89cc8af3
Exists in master and in 1 other branch production

Passwords: bump length to 1024

Why was it at 20?
Why even have a max length anyway?
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
... ...