diff --git a/defaults/main.yml b/defaults/main.yml index fe38268..c0c168d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -30,6 +30,8 @@ authelia_totp_issuer: "{{ authelia_portal_url | urlsplit('hostname') }}" authelia_totp_period: 30 authelia_totp_skew: 1 +authelia_auth_backend_disable_reset_password: False + # @var authelia_auth_backend:description: > # Set authentication backend. Available options are `local|ldap`. All `authelia_auth_ldap_` variables will only work # while the LDAP auth backend is enabled. diff --git a/templates/conf/authelia.yml.j2 b/templates/conf/authelia.yml.j2 index 1b88d4f..f0a6ebc 100644 --- a/templates/conf/authelia.yml.j2 +++ b/templates/conf/authelia.yml.j2 @@ -25,7 +25,7 @@ totp: skew: {{ authelia_totp_skew }} authentication_backend: - disable_reset_password: false + disable_reset_password: {{ authelia_auth_backend_disable_reset_password | bool | lower }} refresh_interval: 5m {% if authelia_auth_backend == "ldap" %}