forked from mystiq/hydrogen-web
Remove unwanted check
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
2d842c7174
commit
ed278e3e5a
1 changed files with 0 additions and 5 deletions
|
@ -42,11 +42,6 @@ export class PasswordLoginViewModel extends ViewModel {
|
|||
|
||||
async login(username, password) {
|
||||
const homeserver = this._homeserver;
|
||||
if (!this._loginOptions.password) {
|
||||
const path = this.navigation.pathFrom([this.navigation.segment("session")]);
|
||||
this.navigation.applyPath(path);
|
||||
return;
|
||||
}
|
||||
this._loadViewModelSubscription = this.disposeTracked(this._loadViewModelSubscription);
|
||||
if (this._loadViewModel) {
|
||||
this._loadViewModel = this.disposeTracked(this._loadViewModel);
|
||||
|
|
Loading…
Reference in a new issue