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 });
|
||||
|
||||
// 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) => ({
|
||||
|
||||
Reference in New Issue
Block a user