This commit is contained in:
venbatechnologies@gmail.com 2022-01-21 16:16:54 +05:30
parent 5cb79aea60
commit 177826c265

View File

@ -72,7 +72,7 @@ export class LoginComponent implements OnInit{
this.aws.dologin(auth).subscribe(res => {
if (res !== undefined) {
this.getCommonSettings();
// local storage for validate user access
// locaal storage for validate user access
localStorage.setItem('user_role',res.idToken.payload["custom:role_id"]);
this.initializeNotification()
this.router.navigate(['/home']);