Skip to content

Commit 2cb661b

Browse files
committed
Merge pull request ruby-china#472 from chloerei/password-length
把密码长度限制改成 6..128
2 parents e4a394a + 0507155 commit 2cb661b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/devise.rb

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

112112
# ==> Configuration for :validatable
113113
# Range for password length
114-
config.password_length = 6..20
114+
config.password_length = 6..128
115115

116116
# Regex to use to validate the email address
117117
# before updating rails 4:

0 commit comments

Comments
 (0)