Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

fix wrong error message in registration when phone number threepid is in use. #9571

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/components/structures/auth/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ export default class Registration extends React.Component<IProps, IState> {
}
} else if (response.errcode === "M_USER_IN_USE") {
errorText = _t("Someone already has that username, please try another.");
} else if (response.errcode === "M_THREEPID_IN_USE") {
errorText = _t("That e-mail address is already in use.");
}

this.setState({
Expand Down