changes token expiry handling to be automatic sign out (#6798)

* changes token expiry handling to be automatic sign out

* add release notes

---------

Co-authored-by: Matt Fiddaman <github@m.fiddaman.uk>
This commit is contained in:
Saahil Jaffer
2026-02-04 19:01:53 -05:00
committed by GitHub
parent 264cc9fb0e
commit 1452ecfeb7
2 changed files with 8 additions and 12 deletions

View File

@@ -355,18 +355,8 @@ export function listenForSyncEvent(store: AppStore) {
};
break;
case 'token-expired':
notif = {
title: 'Login expired',
message: 'Please login again.',
sticky: true,
id: 'login-expired',
button: {
title: 'Go to login',
action: () => {
store.dispatch(signOut());
},
},
};
notif = null;
store.dispatch(signOut());
break;
default:
console.trace('unknown error', event);