From c9f52f64cb6a4c4eac6569871b7fcfb7e45f583a Mon Sep 17 00:00:00 2001 From: mouazkh Date: Thu, 2 Apr 2026 16:00:05 +0300 Subject: [PATCH] removed the validation from the email --- app/login/page.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/login/page.js b/app/login/page.js index 4c7d13f..305003a 100644 --- a/app/login/page.js +++ b/app/login/page.js @@ -242,11 +242,11 @@ export default function LoginPage() { if (errors.credential) setErrors({ ...errors, credential: null }); // Auto-switch method - if (isEmail(value)) { - setLoginMethod('email'); - } else if (isPhoneNumber(value)) { - setLoginMethod('phone'); - } + // if (isEmail(value)) { + // setLoginMethod('email'); + // } else if (isPhoneNumber(value)) { + // setLoginMethod('phone'); + // } }; const particles = Array.from({ length: 20 }, (_, i) => ({