From 3d30bc38d240401cdc037e7109acc91ee5d14f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Mon, 1 Jan 2024 16:46:36 +0100 Subject: [PATCH] [fix] role:authelia --- ansible/roles/authelia/templates/conf-main.json.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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",