devise_password_length.rb.example 245 Bytes EditWeb IDE 1 2 3 4 5 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