Skip to content

Customize minimum password length

Justin Tomich edited this page May 17, 2017 · 1 revision

To change the minimum (and/or maximum) length of password allowed, change the setting in config/initializers/authenticate.rb:

Authenticate.configure do |config|
  config.password_length = 8..128
end

The password_length must be a range. The default is 8 to 128 characters long.