From 01df406feeed34421a1542cf914cc79ae8565003 Mon Sep 17 00:00:00 2001
From: Pavel Vyskocil <Pavel.Vyskocil@cesnet.cz>
Date: Thu, 6 Feb 2025 14:35:38 +0100
Subject: [PATCH] fix: fix template Disco.php

---
 themes/einfra/perun/disco-tpl.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/einfra/perun/disco-tpl.php b/themes/einfra/perun/disco-tpl.php
index be69fa8..2f85121 100644
--- a/themes/einfra/perun/disco-tpl.php
+++ b/themes/einfra/perun/disco-tpl.php
@@ -75,12 +75,12 @@ if ($authContextClassRef !== null) {
 }
 
 if ($idpEntityId !== null) {
-    $url = $this->getContinueUrl($idpEntityId);
+    $url = $this->getContinueUrl($idpEntityId, true);
 
     HTTP::redirectTrustedURL($url);
     exit;
 }
-    $url = $this->getContinueUrlWithoutIdPEntityId();
+    $url = $this->getContinueUrlWithoutIdPEntityId(true);
 
 if ($warningAttributes->isEnabled()) {
     if ($warningAttributes->getType() === WarningConfiguration::WARNING_TYPE_INFO) {
-- 
GitLab