mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-08-18 00:17:14 +02:00
removed unused legacy page
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user