mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
save
This commit is contained in:
@@ -212,8 +212,9 @@ export class ProfilePage implements OnInit {
|
||||
}
|
||||
|
||||
logout() {
|
||||
window.localStorage.clear();
|
||||
SessionStore.delete();
|
||||
|
||||
SessionStore.setInativity(false)
|
||||
this.router.navigateByUrl('/inactivity');
|
||||
|
||||
setTimeout(() => {
|
||||
this.router.navigateByUrl('/', { replaceUrl: true });
|
||||
|
||||
Reference in New Issue
Block a user