Merge branch 'master' of https://bitbucket.org/sriramv18/sparqsineedge
This commit is contained in:
parent
5cb79aea60
commit
177826c265
@ -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();
|
||||||
// local storage for validate user access
|
// locaal storage 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