Compare commits

..

No commits in common. "f6ca7092254e4d7a0add1e01907f6a407c443d29" and "26419ba194fe531e65ed18337a7a4cd86419f2d6" have entirely different histories.

1 changed files with 1 additions and 7 deletions

View File

@ -383,17 +383,11 @@ export default function App() {
setAuthLoading(false);
return;
}
if (/\p{Extended_Pictographic}/u.test(authPassword)) {
setAuthError('Password must not contain emojis.');
setAuthLoading(false);
return;
}
if (!/[!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?`~]/.test(authPassword)) {
if (!/[^A-Za-z0-9\s]/.test(authPassword)) {
setAuthError('Password must contain at least one special character.');
setAuthLoading(false);
return;
}
}
const fullPhone = authPhone ? `${authDialCode}${authPhone}` : undefined;