lib/generators/templates/devise_security.rb in devise-security-0.16.0 vs lib/generators/templates/devise_security.rb in devise-security-0.17.0
- old
+ new
@@ -5,10 +5,12 @@
# Configure security extension for devise
# Should the password expire (e.g 3.months)
# config.expire_password_after = false
- # Need 1 char of A-Z, a-z and 0-9
+ # Need 1 char each of: A-Z, a-z, 0-9, and a punctuation mark or symbol
+ # You may use "digits" in place of "digit" and "symbols" in place of
+ # "symbol" based on your preference
# config.password_complexity = { digit: 1, lower: 1, symbol: 1, upper: 1 }
# How many passwords to keep in archive
# config.password_archiving_count = 5