diff --git a/themes/einfra/perun/disco-tpl.php b/themes/einfra/perun/disco-tpl.php
index be69fa83c3059a32c649b55188614d3b0be66d25..2f85121faba6cc06e030c231dd9c8c333dd3f291 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) {