Skip to content

Commit d2182f6

Browse files
committed
increase default password length validation to minimum 12 characters
1 parent a259ff3 commit d2182f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/generators/templates/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178

179179
# ==> Configuration for :validatable
180180
# Range for password length.
181-
config.password_length = 6..128
181+
config.password_length = 12..128
182182

183183
# Email regex used to validate email formats. It simply asserts that
184184
# one (and only one) @ exists in the given string. This is mainly

0 commit comments

Comments
 (0)