Fix SSO login showing password prompt

This commit is contained in:
Nicolas Werner 2021-11-11 20:20:15 +01:00
parent ca3198c1aa
commit a99eff7c0c
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -368,6 +368,8 @@ LoginPage::versionOk(bool passwordSupported_, bool ssoSupported_)
matrixidLayout_->removeWidget(spinner_); matrixidLayout_->removeWidget(spinner_);
spinner_->stop(); spinner_->stop();
password_input_->setVisible(passwordSupported);
password_input_->setEnabled(passwordSupported);
sso_login_button_->setVisible(ssoSupported); sso_login_button_->setVisible(ssoSupported);
login_button_->setVisible(passwordSupported); login_button_->setVisible(passwordSupported);