From 94e39433619fb33ab4dcc166ec0ccbe2783c323a Mon Sep 17 00:00:00 2001 From: Huub Date: Wed, 7 Jan 2026 12:39:23 +0100 Subject: [PATCH 1/2] fix: handle url fragments for redirects Signed-off-by: Huub van der Voort --- web/templates/login.html | 9 +++++++++ web/templates/password.html | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/web/templates/login.html b/web/templates/login.html index f432dd0096..69eec61fa2 100644 --- a/web/templates/login.html +++ b/web/templates/login.html @@ -16,4 +16,13 @@

Log in to {{ issuer }}

+ + {{ template "footer.html" . }} diff --git a/web/templates/password.html b/web/templates/password.html index 3e1c2ed2da..64f612613f 100644 --- a/web/templates/password.html +++ b/web/templates/password.html @@ -38,6 +38,11 @@

Log in to Your Account

var el = document.querySelector('#submit-login'); el.setAttribute('disabled', 'disabled'); }; + + if (window.location.hash) { + var form = document.querySelector('form'); + form.action = (form.action || '') + window.location.hash; + } {{ template "footer.html" . }} From c35df8d52ae297e8dcfe45b73e688783cb090c1a Mon Sep 17 00:00:00 2001 From: Huub van der Voort Date: Wed, 1 Apr 2026 11:12:19 +0200 Subject: [PATCH 2/2] refactor: queryselector based on anchor in providers section Signed-off-by: Huub van der Voort --- web/templates/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/templates/login.html b/web/templates/login.html index 69eec61fa2..e67fdaa5af 100644 --- a/web/templates/login.html +++ b/web/templates/login.html @@ -2,7 +2,7 @@