From ace61d923ffe514179ca7ac5b9a8f05d75198a32 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 18 May 2024 21:15:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20settings.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/settings.json.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/settings.json.j2 b/templates/settings.json.j2 index 3585caf..b346285 100644 --- a/templates/settings.json.j2 +++ b/templates/settings.json.j2 @@ -177,7 +177,7 @@ "importMaxFileSize": {{ etherpad_import_max_file_size }}, "customLocaleStrings": {{ etherpad_custom_locale_strings|to_json }}, "enableAdminUITests": {{ etherpad_enable_admin_ui_tests }}, - "authenticationMethod": {{ etherpad_authentication_method }}, + "authenticationMethod": {{ etherpad_authentication_method|to_json }}, "lowerCasePadIds": {{ etherpad_lower_case_pad_ids }}, {% if etherpad_authentication_method == "sso" %} "sso": { @@ -186,10 +186,10 @@ }, {% endif %} "ttl": { - "AccessToken": "{{ etherpad_ttl_access_token }}", - "AuthorizationCode": "{{ etherpad_ttl_authorization_code }}", - "ClientCredentials": "{{ etherpad_ttl_client_credentials }}", - "IdToken": "{{ etherpad_ttl_id_token }}", - "RefreshToken": "{{ etherpad_ttl_refresh_token }}" + "AccessToken": {{ etherpad_ttl_access_token }}, + "AuthorizationCode": {{ etherpad_ttl_authorization_code }}, + "ClientCredentials": {{ etherpad_ttl_client_credentials }}, + "IdToken": {{ etherpad_ttl_id_token }}, + "RefreshToken": {{ etherpad_ttl_refresh_token }} } }