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 2dfdc60 commit 6237c2bCopy full SHA for 6237c2b
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