We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a259ff3 commit 72ffb3bCopy full SHA for 72ffb3b
2 files changed
lib/devise.rb
@@ -119,7 +119,7 @@ module Test
119
120
# Range validation for password length
121
mattr_accessor :password_length
122
- @@password_length = 6..128
+ @@password_length = 12..128
123
124
# The time the user will be remembered without asking for credentials again.
125
mattr_accessor :remember_for
lib/generators/templates/devise.rb
@@ -178,7 +178,7 @@
178
179
# ==> Configuration for :validatable
180
# Range for password length.
181
- config.password_length = 6..128
+ config.password_length = 12..128
182
183
# Email regex used to validate email formats. It simply asserts that
184
# one (and only one) @ exists in the given string. This is mainly
0 commit comments