fix: hide OIDC button when not in use

This commit is contained in:
Hugh Nimmo-Smith 2022-07-25 09:00:30 +01:00 committed by Quentin Gliech
parent 19c0a2949b
commit fa5ef2795a
No known key found for this signature in database
GPG Key ID: 22D62B84552719FC

View File

@ -238,6 +238,7 @@ export class LoginViewModel extends ViewModel<SegmentType, Options> {
this._startSSOLoginViewModel = this.disposeTracked(this._startSSOLoginViewModel); this._startSSOLoginViewModel = this.disposeTracked(this._startSSOLoginViewModel);
this._passwordLoginViewModel = this.disposeTracked(this._passwordLoginViewModel); this._passwordLoginViewModel = this.disposeTracked(this._passwordLoginViewModel);
this._completeSSOLoginViewModel = this.disposeTracked(this._completeSSOLoginViewModel); this._completeSSOLoginViewModel = this.disposeTracked(this._completeSSOLoginViewModel);
this._startOIDCLoginViewModel = this.disposeTracked(this._startOIDCLoginViewModel);
this.emitChange("disposeViewModels"); this.emitChange("disposeViewModels");
} }