Revert "New password default minimum length is now 8"

This reverts commit 2950434ed3.
It is backwards incompatible, we need a better migration plan.
This commit is contained in:
José Valim
2012-07-24 22:41:13 +02:00
parent 73f617db7b
commit b1f490a2f8
3 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ module Devise
# Range validation for password length
mattr_accessor :password_length
@@password_length = 6..128
@@password_length = 8..128
# The time the user will be remembered without asking for credentials again.
mattr_accessor :remember_for

View File

@@ -122,7 +122,7 @@ Devise.setup do |config|
# ==> Configuration for :validatable
# Range for password length. Default is 8..128.
config.password_length = 8..128
# config.password_length = 8..128
# Email regex used to validate email formats. It simply asserts that
# an one (and only one) @ exists in the given string. This is mainly