Add tests and makes the password policy a provider so the configuration can be loaded to memory on startup.
2.7 KiB
layout | title | parent | nav_order |
---|---|---|---|
default | Password Policy | Configuration | 17 |
Password Policy
Authelia allows administrators to configure an enforced password policy.
Configuration
password_policy:
standard:
enabled: false
min_length: 8
max_length: 0
require_uppercase: false
require_lowercase: false
require_number: false
require_special: false
zxcvbn:
enabled: false
Options
standard
This section allows you to enable standard security policies.
enabled
Enables standard password policy.
min_length
Determines the minimum allowed password length.
max_length
Determines the maximum allowed password length.
require_uppercase
Indicates that at least one UPPERCASE letter must be provided as part of the password.
require_lowercase
Indicates that at least one lowercase letter must be provided as part of the password.
require_number
Indicates that at least one number must be provided as part of the password.
require_special
Indicates that at least one special character must be provided as part of the password.
zxcvbn
This password policy enables advanced password strength metering, using zxcvbn.
Note that this password policy do not restrict the user's entry it just gives the user feedback as to how strong their password is.
enabled
Important Note: only one password policy can be applied at a time.
Enables zxcvbn password policy.