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;
|
||||
}
|
||||
if (!loginOptions.token) {
|
||||
const path = this.navigation.pathFrom([this.navigation.segment("session")]);
|
||||
this.navigation.applyPath(path);
|
||||
this.navigation.push("session");
|
||||
return;
|
||||
}
|
||||
const status = await this._attemptLogin(loginOptions.token(this._loginToken));
|
||||
|
|
Loading…
Reference in a new issue