for merge
This commit is contained in:
parent
177826c265
commit
61e5ddaa63
@ -72,7 +72,7 @@ export class LoginComponent implements OnInit{
|
|||||||
this.aws.dologin(auth).subscribe(res => {
|
this.aws.dologin(auth).subscribe(res => {
|
||||||
if (res !== undefined) {
|
if (res !== undefined) {
|
||||||
this.getCommonSettings();
|
this.getCommonSettings();
|
||||||
// locaal storage for validate user access
|
// locaal storaege for validate user access
|
||||||
localStorage.setItem('user_role',res.idToken.payload["custom:role_id"]);
|
localStorage.setItem('user_role',res.idToken.payload["custom:role_id"]);
|
||||||
this.initializeNotification()
|
this.initializeNotification()
|
||||||
this.router.navigate(['/home']);
|
this.router.navigate(['/home']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user