debian-mirror-gitlab/config/initializers/devise_password_length.rb.example

7 lines
245 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
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