release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 625ac55b0a - Show all commits

View File

@ -13,7 +13,7 @@ export default boot(({ router }) => {
// Secured area (LOGIN REQUIRED) // Secured area (LOGIN REQUIRED)
// Check login is ok // Check login is ok
if (!store.session || store.session.expires <= new Date()) { if (!store.session || store.session.expires <= new Date()) {
void store.logout(); void store.handleLoggedOut();
return next({ name: 'login', query: { redirect: to.fullPath } }); return next({ name: 'login', query: { redirect: to.fullPath } });
} }

View File

@ -10,8 +10,8 @@ const config: { [key: string]: Array<string> } = {
// Do not change required Modules !! // Do not change required Modules !!
requiredModules: ['User'], requiredModules: ['User'],
// here you can import plugins. // here you can import plugins.
//loadModules: ['Balance', 'Schedule', 'Pricelist'], loadModules: ['Balance', 'Schedule', 'Pricelist'],
loadModules: [], //loadModules: [],
}; };
/* Stop! /* Stop!