ing
This commit is contained in:
parent
90fc8ca982
commit
a59f1c7dd7
|
@ -43,7 +43,7 @@ export class Effects {
|
|||
const queryString = `authToken=${info.authToken}`;
|
||||
this.rpcService.connect(queryString);
|
||||
|
||||
this.router.navigateByUrl(info.returnURL);
|
||||
this.router.navigateByUrl(info.returnURL ? info.returnURL : '/');
|
||||
})
|
||||
);
|
||||
|
||||
|
@ -56,7 +56,7 @@ export class Effects {
|
|||
const queryString = `authToken=${authToken}`;
|
||||
this.rpcService.connect(queryString);
|
||||
|
||||
this.router.navigateByUrl(info.returnURL);
|
||||
this.router.navigateByUrl(info.returnURL ? info.returnURL : '/');
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user