From 11a90a47893fe86972139f903f8af87117f52432 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 23 Dec 2024 09:02:58 +0200 Subject: [PATCH] Move matrix-registration-bot's token comment inside the if statement --- .../templates/config/config.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 b/roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 index 4a2242aa2..7ea2b9d0a 100644 --- a/roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 +++ b/roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 @@ -6,8 +6,8 @@ bot: api: # API endpoint of the registration tokens base_url: {{ matrix_bot_matrix_registration_bot_api_base_url|to_json }} - # Access token of an administrator on the server {% if matrix_bot_matrix_registration_bot_api_token | length > 0 %} + # Access token of an administrator on the server token: {{ matrix_bot_matrix_registration_bot_api_token|to_json }} {% endif %}