@indigina/kendo 1.0.149-beta → 1.0.152-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2042,8 +2042,10 @@
2042
2042
  this.authService
2043
2043
  .handleRedirectObservable()
2044
2044
  .subscribe(function (result) {
2045
- _this.settingsService.setToken(result.idToken);
2046
- _this.authService.instance.setActiveAccount(result.account);
2045
+ if (result) {
2046
+ _this.settingsService.setToken(result.idToken);
2047
+ _this.authService.instance.setActiveAccount(result.account);
2048
+ }
2047
2049
  _this.router.navigate(['home']);
2048
2050
  });
2049
2051
  };