mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
less http specific
This commit is contained in:
parent
3359c6950f
commit
a19e541e1e
@ -86,7 +86,7 @@ export class SessionContainer {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
this._error = err;
|
this._error = err;
|
||||||
if (err instanceof HomeServerError) {
|
if (err instanceof HomeServerError) {
|
||||||
if (err.statusCode === 403) {
|
if (err.errcode === "M_FORBIDDEN") {
|
||||||
this._loginFailure = LoginFailure.Credentials;
|
this._loginFailure = LoginFailure.Credentials;
|
||||||
} else {
|
} else {
|
||||||
this._loginFailure = LoginFailure.Unknown;
|
this._loginFailure = LoginFailure.Unknown;
|
||||||
|
Loading…
Reference in New Issue
Block a user