mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 12:04:57 +01:00
Try to improve error message on no login method available
This commit is contained in:
parent
b48e6b3fb6
commit
385b9cc713
@ -249,7 +249,7 @@ export class LoginViewModel extends ViewModel {
|
|||||||
if (this._loginOptions.password) { this._showPasswordLogin(); }
|
if (this._loginOptions.password) { this._showPasswordLogin(); }
|
||||||
if (this._loginOptions.oidc) { this._showOIDCLogin(); }
|
if (this._loginOptions.oidc) { this._showOIDCLogin(); }
|
||||||
if (!this._loginOptions.sso && !this._loginOptions.password && !this._loginOptions.oidc) {
|
if (!this._loginOptions.sso && !this._loginOptions.password && !this._loginOptions.oidc) {
|
||||||
this._showError("This homeserver supports neither SSO nor password based login flows");
|
this._showError("This homeserver supports neither SSO nor password based login flows or has a usable OIDC Provider");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user