diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-13 13:30:46 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-13 13:41:10 +0400 |
commit | 0db36897e61205dda4644cdc77fa79dcc7b9114a (patch) | |
tree | c681142146233eb1efb6d5e5001fbf044134b635 /config/initializers/devise_password_length.rb.example | |
parent | 5c1a360f4172273e4fe568e9cbafda9a95858623 (diff) |
Add instructions for custom password length limits
Diffstat (limited to 'config/initializers/devise_password_length.rb.example')
-rw-r--r-- | config/initializers/devise_password_length.rb.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/devise_password_length.rb.example b/config/initializers/devise_password_length.rb.example new file mode 100644 index 00000000000..97305825e07 --- /dev/null +++ b/config/initializers/devise_password_length.rb.example @@ -0,0 +1,6 @@ +Devise.setup do |config| + # The following line changes the password length limits for new users. In the + # example below the minimum length is 12 characters, and the maximum length + # is 128 characters. + config.password_length = 12..128 +end |