From 1ab1505c8883c052b2766ea2e4e7e8a4a3b81c4e Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Tue, 16 May 2023 10:44:14 +0200 Subject: [PATCH] [Web] remove sso login alertbox --- data/web/index.php | 3 +-- data/web/templates/index.twig | 11 ++--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/data/web/index.php b/data/web/index.php index 05c50b01f..c44696b6d 100644 --- a/data/web/index.php +++ b/data/web/index.php @@ -29,8 +29,7 @@ $template_data = [ 'oauth2_request' => @$_SESSION['oauth2_request'], 'is_mobileconfig' => str_contains($_SESSION['index_query_string'], 'mobileconfig'), 'login_delay' => @$_SESSION['ldelay'], - 'has_keycloak_sso' => ($keycloak_provider) ? true : false, - 'invalid_keycloak_sso' => $_SESSION['invalid_keycloak_sso'] + 'has_iam_sso' => ($iam_provider) ? true : false ]; $js_minifier->add('/web/js/site/index.js'); diff --git a/data/web/templates/index.twig b/data/web/templates/index.twig index 35e53b828..98847d53e 100644 --- a/data/web/templates/index.twig +++ b/data/web/templates/index.twig @@ -26,13 +26,6 @@
{{ lang.login.mobileconfig_info }}
{% endif %}
- {% if invalid_keycloak_sso %} -
- -
- {% endif %}
@@ -53,8 +46,8 @@