[UI] Improved flow for 409 errors (#11132)

This commit is contained in:
Oliver 2026-01-14 09:56:14 +11:00 committed by GitHub
parent dc4861210c
commit f2cef4f266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -119,12 +119,13 @@ export async function doBasicLogin(
await handlePossibleMFAError(err);
break;
case 409:
doLogout(navigate);
notifications.show({
title: t`Already logged in`,
message: t`There is a conflicting session on the server for this browser. Please logout of that first.`,
title: t`Logged Out`,
message: t`There was a conflicting session for this browser, which has been logged out.`,
color: 'red',
id: 'auth-login-error',
autoClose: false
autoClose: true
});
break;
default: