diff --git a/roles/authelia/templates/conf-main.json.j2 b/roles/authelia/templates/conf-main.json.j2 index 2be6e2f..e5307e8 100644 --- a/roles/authelia/templates/conf-main.json.j2 +++ b/roles/authelia/templates/conf-main.json.j2 @@ -171,7 +171,7 @@ "filename": "{{cfg_authelia.notification.data.path}}" } {% endif %} -{% if cfg_authelia.notification_mode == "smtp" %} +{% if cfg_authelia.notification.kind == "smtp" %} "smtp": { "address": "{{cfg_authelia.notification.data.host}}:{{cfg_authelia.notification.data.port | string}}", "username": "{{cfg_authelia.notification.data.username}}",