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; break;
case 'token-expired': case 'token-expired':
notif = { notif = null;
title: 'Login expired', store.dispatch(signOut());
message: 'Please login again.',
sticky: true,
id: 'login-expired',
button: {
title: 'Go to login',
action: () => {
store.dispatch(signOut());
},
},
};
break; break;
default: default:
console.trace('unknown error', event); console.trace('unknown error', event);

View File

@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [saahiljaffer]
---
automatically sign out on token expiry