Move matrix-registration-bot's token comment inside the if statement

This commit is contained in:
Slavi Pantaleev 2024-12-23 09:02:58 +02:00
parent d89e627a79
commit 11a90a4789

View File

@ -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 %}