LoginForm: make it more clear that people should use usernames, not emails.

master
Tom Hacohen 4 years ago
parent 022d4ea2e2
commit 19444a38ba

@ -42,7 +42,7 @@ export default function LoginForm(props: PropsType) {
if (!username) { if (!username) {
errors.errorEmail = fieldRequired; errors.errorEmail = fieldRequired;
} else if (username.includes("@")) { } else if (username.includes("@")) {
errors.errorEmail = "EteSync 2.0 account required (this looks like a 1.0 account)."; errors.errorEmail = "Please use your username (not email)";
} }
if (!password) { if (!password) {
errors.errorPassword = fieldRequired; errors.errorPassword = fieldRequired;

Loading…
Cancel
Save