Improve inactivity page

This commit is contained in:
Peter Maquiran
2021-08-31 10:54:00 +01:00
parent d0511fc6f4
commit 8056981ca1
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -382,6 +382,16 @@ const routes: Routes = [
],
canActivate: [InactivityGuard]
},
{
path: 'login',
children: [
{
path:'',
loadChildren: ()=> import('../pages/inactivity/inactivity.module').then(m => m.InactivityPageModule)
},
],
canActivate: [InactivityGuard]
},
{
path: 'pin',
children: [
+1 -1
View File
@@ -222,7 +222,7 @@ export class ProfilePage implements OnInit {
SessionStore.setInativity(false)
setTimeout(() => {
this.router.navigate(['/inactivity']);
this.router.navigate(['/login']);
}, 100)
}