release v2.0.0 #4
|
@ -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