mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 20:14:53 +01:00
Try to improve error message on no login method available
This commit is contained in:
parent
391e696bed
commit
19c0a2949b
@ -304,7 +304,7 @@ export class LoginViewModel extends ViewModel<SegmentType, Options> {
|
|||||||
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