diff --git a/src/services/momentum.service.ts b/src/services/momentum.service.ts index c62dbbb..7851cb1 100644 --- a/src/services/momentum.service.ts +++ b/src/services/momentum.service.ts @@ -30,4 +30,7 @@ export const momentum = new Momentum(environment.apiUrl, { }); momentum.client.inject(true); -momentum.on('auth/session-expired', () => momentum.auth.logout()); +momentum.on('auth/session-expired', () => { + momentum.auth.logout(); + location.reload(); +});