implement refresh token

This commit is contained in:
fuzi_fauzia committed 2024-07-16 13:46:58 +07:00
1 parent fa12fcec50
commit 6b91c937ab
27 files changed
+113 -65

No files matched your search

@@ -61,7 +61,8 @@ export class ProfilInformationComponent {
ngOnInit(): void {
this.storedData = JSON.parse(localStorage.getItem("account_info"));
this.currentUser = JSON.parse(localStorage.getItem("currentUser"));
this.authService.checkTokenAndRedirect();
this.authService.startTokenCheck();
this.authService.startTrackingActivity();
this.profilInfo = this.formBuilder.group({
firstName: ["", Validators.required],