removed unused legacy page

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2025-09-21 15:32:59 +02:00
parent f1c9cef492
commit c28265b89c
2 changed files with 2 additions and 90 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ export const immediateResponseHandler = (apiResponse) => {
goto('/login');
window.location.reload();
}
// If the user must renew their password, move them to the renew password page
// If the user must renew their password, redirect to login
if (apiResponse.statusCode === 400 && apiResponse.error === 'New password required') {
goto('/login/reset-password');
goto('/login');
return;
}
return apiResponse;