removed the validation from the email
All checks were successful
Build frontend / build (push) Successful in 1m23s
All checks were successful
Build frontend / build (push) Successful in 1m23s
This commit is contained in:
@ -242,11 +242,11 @@ export default function LoginPage() {
|
|||||||
if (errors.credential) setErrors({ ...errors, credential: null });
|
if (errors.credential) setErrors({ ...errors, credential: null });
|
||||||
|
|
||||||
// Auto-switch method
|
// Auto-switch method
|
||||||
if (isEmail(value)) {
|
// if (isEmail(value)) {
|
||||||
setLoginMethod('email');
|
// setLoginMethod('email');
|
||||||
} else if (isPhoneNumber(value)) {
|
// } else if (isPhoneNumber(value)) {
|
||||||
setLoginMethod('phone');
|
// setLoginMethod('phone');
|
||||||
}
|
// }
|
||||||
};
|
};
|
||||||
|
|
||||||
const particles = Array.from({ length: 20 }, (_, i) => ({
|
const particles = Array.from({ length: 20 }, (_, i) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user