7773-testToMaster_2430 #561

Merged
alexm merged 424 commits from 7773-testToMaster_2430 into master 2024-07-23 06:24:05 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 83fa9a15b9 - Show all commits
src/boot

View File

@ -55,10 +55,10 @@ const onResponseError = (error) => {
}
if (session.isLoggedIn() && response?.status === 401) {
session.destroy();
session.destroy(false);
const hash = window.location.hash;
const url = hash.slice(1);
Router.push({ path: url });
Router.push(`/login?redirect=${url}`);
} else if (!session.isLoggedIn()) {
return Promise.reject(error);
}