Improve documentation on generated configuration
parent
42cea6b437
commit
7dfc3c327c
|
|
@ -996,15 +996,35 @@ password_config:
|
||||||
#
|
#
|
||||||
#pepper: "EVEN_MORE_SECRET"
|
#pepper: "EVEN_MORE_SECRET"
|
||||||
|
|
||||||
# Password policy.
|
# Define and enforce a password policy. Each parameter is optional, boolean
|
||||||
|
# parameters default to 'false' and integer parameters default to 0.
|
||||||
|
# This is an early implementation of MSC2000.
|
||||||
#
|
#
|
||||||
#policy:
|
#policy:
|
||||||
# enabled: true
|
# Whether to enforce the password policy.
|
||||||
# minimum_length: 15
|
#
|
||||||
# require_digit: true
|
#enabled: true
|
||||||
# require_symbol: true
|
|
||||||
# require_lowercase: true
|
# Minimum accepted length for a password.
|
||||||
# require_uppercase: true
|
#
|
||||||
|
#minimum_length: 15
|
||||||
|
|
||||||
|
# Whether a password must contain at least one digit.
|
||||||
|
#
|
||||||
|
#require_digit: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one symbol.
|
||||||
|
# A symbol is any character that's not a number or a letter.
|
||||||
|
#
|
||||||
|
#require_symbol: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one lowercase letter.
|
||||||
|
#
|
||||||
|
#require_lowercase: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one lowercase letter.
|
||||||
|
#
|
||||||
|
#require_uppercase: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,13 +46,33 @@ class PasswordConfig(Config):
|
||||||
#
|
#
|
||||||
#pepper: "EVEN_MORE_SECRET"
|
#pepper: "EVEN_MORE_SECRET"
|
||||||
|
|
||||||
# Password policy.
|
# Define and enforce a password policy. Each parameter is optional, boolean
|
||||||
|
# parameters default to 'false' and integer parameters default to 0.
|
||||||
|
# This is an early implementation of MSC2000.
|
||||||
#
|
#
|
||||||
#policy:
|
#policy:
|
||||||
# enabled: true
|
# Whether to enforce the password policy.
|
||||||
# minimum_length: 15
|
#
|
||||||
# require_digit: true
|
#enabled: true
|
||||||
# require_symbol: true
|
|
||||||
# require_lowercase: true
|
# Minimum accepted length for a password.
|
||||||
# require_uppercase: true
|
#
|
||||||
|
#minimum_length: 15
|
||||||
|
|
||||||
|
# Whether a password must contain at least one digit.
|
||||||
|
#
|
||||||
|
#require_digit: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one symbol.
|
||||||
|
# A symbol is any character that's not a number or a letter.
|
||||||
|
#
|
||||||
|
#require_symbol: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one lowercase letter.
|
||||||
|
#
|
||||||
|
#require_lowercase: true
|
||||||
|
|
||||||
|
# Whether a password must contain at least one lowercase letter.
|
||||||
|
#
|
||||||
|
#require_uppercase: true
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue