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