mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Especific route on click for pushNotification
This commit is contained in:
@@ -82,7 +82,13 @@ export class LoginPage implements OnInit {
|
||||
this.storageService.store(this.username, token.value);
|
||||
this.storageService.get(this.username).then(value => {
|
||||
console.log('STORAGE TOKEN',value )
|
||||
})
|
||||
this.storageService.get(AuthConnstants.USER).then(res=>{
|
||||
console.log('USERID',res);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
);
|
||||
|
||||
@@ -103,6 +109,7 @@ export class LoginPage implements OnInit {
|
||||
if (await this.authService.login(this.userattempt)) {
|
||||
/* this.loginRocketChat(); */
|
||||
this.storeUserIdANdToken()
|
||||
|
||||
this.router.navigate(['/home/events']);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user