From b90e46b6ec5223b2f1905bea51afd0bde72d25cf Mon Sep 17 00:00:00 2001 From: Maria Petrova <m.petrova@fz-juelich.de> Date: Mon, 25 Nov 2024 13:48:44 +0100 Subject: [PATCH] Set workshops default value to False --- templates/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/login.html b/templates/login.html index 0fbf3c2..b2c2b68 100644 --- a/templates/login.html +++ b/templates/login.html @@ -33,7 +33,7 @@ </li> {%- endmacro -%} -{%- if custom_config.get("workshop", {}).get("login", {}).get("enabled", True) %} +{%- if custom_config.get("workshop", {}).get("login", {}).get("enabled", False) %} {%- set login_text = "Regular sign in" -%} {%- else %} {%- set login_text = "Sign in" -%} @@ -69,7 +69,7 @@ {{login_text}} </a> </div> - {%- if custom_config.get("workshop", {}).get("login", {}).get("enabled", True) %} + {%- if custom_config.get("workshop", {}).get("login", {}).get("enabled", False) %} <div class="d-flex justify-content-center align-items-center pt-2"> <a id="btn-login-workshop" class="btn btn-primary shadow btn-lg p-4" role="button"> <!-- <img src='{{static_url("images/pages/login/User.svg", include_version=False) }}'/> --> -- GitLab