mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
- add method get user from room in ws api
- Modified logout method
This commit is contained in:
@@ -214,11 +214,13 @@ export class ProfilePage implements OnInit {
|
||||
}
|
||||
|
||||
logout() {
|
||||
SessionStore.setInativity(false)
|
||||
this.authService.logout()
|
||||
|
||||
/* SessionStore.setInativity(false)
|
||||
SessionStore.setUrlBeforeInactivity(this.router.url)
|
||||
setTimeout(() => {
|
||||
this.router.navigateByUrl('/', { replaceUrl: true });
|
||||
}, 100)
|
||||
}, 100) */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user