parent
9940589d1a
commit
625ac55b0a
|
@ -13,7 +13,7 @@ export default boot(({ router }) => {
|
|||
// Secured area (LOGIN REQUIRED)
|
||||
// Check login is ok
|
||||
if (!store.session || store.session.expires <= new Date()) {
|
||||
void store.logout();
|
||||
void store.handleLoggedOut();
|
||||
return next({ name: 'login', query: { redirect: to.fullPath } });
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ const config: { [key: string]: Array<string> } = {
|
|||
// Do not change required Modules !!
|
||||
requiredModules: ['User'],
|
||||
// here you can import plugins.
|
||||
//loadModules: ['Balance', 'Schedule', 'Pricelist'],
|
||||
loadModules: [],
|
||||
loadModules: ['Balance', 'Schedule', 'Pricelist'],
|
||||
//loadModules: [],
|
||||
};
|
||||
|
||||
/* Stop!
|
||||
|
|
Loading…
Reference in New Issue