Quellcode durchsuchen

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

pull/3903/head
Slavi Pantaleev vor 1 Jahr
Ursprung
Commit
11a90a4789
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

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



Laden…
Abbrechen
Speichern