forked from mystiq/hydrogen-web
Make navigation simpler
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
c9319c7c38
commit
ef4db4abab
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@ export class CompleteSSOLoginViewModel extends ViewModel {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!loginOptions.token) {
|
if (!loginOptions.token) {
|
||||||
const path = this.navigation.pathFrom([this.navigation.segment("session")]);
|
this.navigation.push("session");
|
||||||
this.navigation.applyPath(path);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const status = await this._attemptLogin(loginOptions.token(this._loginToken));
|
const status = await this._attemptLogin(loginOptions.token(this._loginToken));
|
||||||
|
|
Loading…
Reference in a new issue