Signup form: also show email specific errors.

master
Tom Hacohen 4 years ago
parent 4e2e17dc05
commit 4e565fb3e6

@ -101,6 +101,9 @@ export default function SignupPage() {
if (field.field === "user.username") {
errors.username = field.detail;
found = true;
} else if (field.field === "user.email") {
errors.email = field.detail;
found = true;
} else if (!field.field) {
errors.general = field.detail;
found = true;

Loading…
Cancel
Save