disabled reloads

This commit is contained in:
lotte
2018-09-20 15:24:16 +02:00
parent e96eeeaa83
commit a2bcdfbea9
3 changed files with 6 additions and 11 deletions

View File

@@ -71,10 +71,8 @@ export class ServerAuthService extends AuthService {
this.router.navigated = false;
const url = decodeURIComponent(redirectUrl);
this.router.navigateByUrl(url);
this._window.nativeWindow.location.href = url;
} else {
this.router.navigate(['/']);
this._window.nativeWindow.location.href = '/';
}
})