Ver código fonte

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

pull/3903/head
Slavi Pantaleev 1 ano atrás
pai
commit
11a90a4789
1 arquivos alterados com 1 adições e 1 exclusões
  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 Ver arquivo

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




Carregando…
Cancelar
Salvar