diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-13 10:30:46 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-01-13 10:41:10 +0100 |
commit | 0db36897e61205dda4644cdc77fa79dcc7b9114a (patch) | |
tree | c681142146233eb1efb6d5e5001fbf044134b635 /config | |
parent | 5c1a360f4172273e4fe568e9cbafda9a95858623 (diff) | |
download | gitlab-ce-0db36897e61205dda4644cdc77fa79dcc7b9114a.tar.gz |
Add instructions for custom password length limits
Diffstat (limited to 'config')
-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 |