Sfoglia il codice sorgente

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

pull/3903/head
Slavi Pantaleev 1 anno fa
parent
commit
11a90a4789
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2

+ 1
- 1
roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 Vedi File

@@ -6,8 +6,8 @@ bot:
api: api:
# API endpoint of the registration tokens # API endpoint of the registration tokens
base_url: {{ matrix_bot_matrix_registration_bot_api_base_url|to_json }} 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 %} {% 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 }} token: {{ matrix_bot_matrix_registration_bot_api_token|to_json }}
{% endif %} {% endif %}




Caricamento…
Annulla
Salva