You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
Formatting
This commit is contained in:
@@ -161,8 +161,7 @@ export default class Login {
|
|||||||
error.friendlyText = (
|
error.friendlyText = (
|
||||||
_t('This Home Server does not support login using email address.')
|
_t('This Home Server does not support login using email address.')
|
||||||
);
|
);
|
||||||
}
|
} else if (error.httpStatus === 403) {
|
||||||
else if (error.httpStatus === 403) {
|
|
||||||
error.friendlyText = (
|
error.friendlyText = (
|
||||||
_t('Incorrect username and/or password.')
|
_t('Incorrect username and/or password.')
|
||||||
);
|
);
|
||||||
@@ -185,8 +184,7 @@ export default class Login {
|
|||||||
throw error;
|
throw error;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
error.friendlyText = (
|
error.friendlyText = (
|
||||||
_t("There was a problem logging in.") + ' (HTTP ' + error.httpStatus + ")"
|
_t("There was a problem logging in.") + ' (HTTP ' + error.httpStatus + ")"
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user