diff --git a/ansible/roles/authelia/templates/conf-main.json.j2 b/ansible/roles/authelia/templates/conf-main.json.j2 index 3b85291..4279742 100644 --- a/ansible/roles/authelia/templates/conf-main.json.j2 +++ b/ansible/roles/authelia/templates/conf-main.json.j2 @@ -47,7 +47,11 @@ }, "authentication_backend": { "password_reset": { - "disable": {{not var_authelia_password_reset_enabled | to_json}}, +{% if var_authelia_password_reset_enabled %} + "disable": false, +{% else %} + "disable": true, +{% endif %} "custom_url": "" }, "refresh_interval": "5m",