diff --git a/.gitignore b/.gitignore
index 9b1913ec..cef619f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.env.local
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
diff --git a/app/auth/register/page.tsx b/app/auth/register/page.tsx
index f362eedb..4b00052e 100644
--- a/app/auth/register/page.tsx
+++ b/app/auth/register/page.tsx
@@ -151,7 +151,6 @@ export default function Register() {
const isFormValid =
name.trim() &&
email.trim() &&
- /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email) &&
password.trim() &&
confirmPassword.trim() &&
password === confirmPassword &&
@@ -311,7 +310,7 @@ export default function Register() {
}`}
/>
Email Address
- {email && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email) && (
+ {email && email.includes("@") && (
-
-