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 => {
|
||||
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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user