jwt implemented

This commit is contained in:
Eudes Inácio
2023-11-29 12:17:52 +01:00
parent 7bd1370c0b
commit f4a998584d
41 changed files with 1204 additions and 693 deletions
+3 -1
View File
@@ -56,7 +56,8 @@ export class ProfilePage implements OnInit {
private processesService: ProcessesService,
private eventsService: EventsService,
private storageService: StorageService,
public NotificationHolderService: NotificationHolderService
public NotificationHolderService: NotificationHolderService,
private authservice: AuthService
) {
window['e'] = () => {
@@ -377,6 +378,7 @@ export class ProfilePage implements OnInit {
}
logout() {
this.authservice.logoutUser();
SessionStore.setInativity(false)
SessionStore.setUrlBeforeInactivity(this.router.url);
this.logoutOut == false