From 6585f449e891f14e82a71793259bbd23000b3946 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Sat, 19 Feb 2022 16:03:52 +0100
Subject: [PATCH] Ensure urlencoded AuthState param

---
 modules/core/templates/loginuserpass.twig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/templates/loginuserpass.twig b/modules/core/templates/loginuserpass.twig
index 76370317b..f5d03726f 100644
--- a/modules/core/templates/loginuserpass.twig
+++ b/modules/core/templates/loginuserpass.twig
@@ -38,7 +38,7 @@
     <p>{{ 'A service has requested you to authenticate yourself. Please enter your username and password in the form below.'|trans }}</p>
     <br>
     <div class="center">
-        <form class="pure-form pure-form-aligned center-form" action="{{ '?AuthState=' ~ AuthState }}" method="post" name="f">
+        <form class="pure-form pure-form-aligned center-form" action="{{ moduleURL('core/loginuserpass', {'AuthState': AuthState}) }}" method="post" name="f">
             <div class="form-align">
 
                 <div class="pure-control-group">
-- 
GitLab