We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 311d6a1 commit 7f0cce9Copy full SHA for 7f0cce9
frontend/src/modules/Validations.tsx
@@ -44,7 +44,7 @@ const validateEmail = () => {
44
if (!value.length) {
45
return intl.formatMessage({ id: "error.required" });
46
}
47
- if (!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(value)) {
+ if (!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+$/i.test(value)) {
48
return intl.formatMessage({ id: "error.invalid-email" });
49
50
};
0 commit comments