diff --git a/src/domain/login/LoginViewModel.js b/src/domain/login/LoginViewModel.js index 9e8ed146..61fd3967 100644 --- a/src/domain/login/LoginViewModel.js +++ b/src/domain/login/LoginViewModel.js @@ -45,7 +45,7 @@ export class LoginViewModel extends ViewModel { get passwordLoginViewModel() { return this._passwordLoginViewModel; } get startSSOLoginViewModel() { return this._startSSOLoginViewModel; } get completeSSOLoginViewModel(){ return this._completeSSOLoginViewModel; } - get defaultHomeServer() { return this._homeserver; } + get homeserver() { return this._homeserver; } get errorMessage() { return this._errorMessage; } get showHomeserver() { return !this._hideHomeserver; } get cancelUrl() { return this.urlCreator.urlForSegment("session"); } diff --git a/src/platform/web/ui/login/LoginView.js b/src/platform/web/ui/login/LoginView.js index ad7f72a4..1a146051 100644 --- a/src/platform/web/ui/login/LoginView.js +++ b/src/platform/web/ui/login/LoginView.js @@ -34,7 +34,7 @@ export class LoginView extends TemplateView { id: "homeserver", type: "text", placeholder: vm.i18n`Your matrix homeserver`, - value: vm.defaultHomeServer, + value: vm.homeserver, disabled: vm => vm.isBusy, onChange: event => vm.updateHomeServer(event.target.value), })