From ba86fee8ad651284e0c1197da85bfd8cf70c3703 Mon Sep 17 00:00:00 2001 From: Rex Lorenzo Date: Fri, 7 Aug 2026 10:51:13 -0700 Subject: [PATCH] fix(session): use ~/ so Refresh Session keeps the /2 PathBase - Reject non-OK responses instead of passing the Response to the success handler, which rendered "extended to Invalid Date" while the session was never extended - Report a failed extend in a role="alert" q-banner, and leave the dialog up offering both Refresh Session and Log in, so a user whose refresh keeps failing still has a way to re-authenticate - Replace the poll's dead try/catch, which cannot catch an async rejection, with a catch that reschedules the next check --- .../Components/SessionTimeout/Default.cshtml | 66 ++++++++++++------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/web/Views/Shared/Components/SessionTimeout/Default.cshtml b/web/Views/Shared/Components/SessionTimeout/Default.cshtml index ddaf014eb..c23ce75c2 100644 --- a/web/Views/Shared/Components/SessionTimeout/Default.cshtml +++ b/web/Views/Shared/Components/SessionTimeout/Default.cshtml @@ -14,14 +14,19 @@ Your session has been extended to {{sessionExpireTime}}. - + + + + Could not extend your session. Please try again. + +