Skip to content

Commit

Permalink
Update LoginDialog.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
gnmyt committed Sep 14, 2024
1 parent f339bce commit cf937f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/src/common/components/LoginDialog/LoginDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ export const LoginDialog = ({ open }) => {

return true;
} catch (error) {
if (error.message.toString().includes("^(?=.*[0-9])")) {
setError("Password must contain at least one number and one special character");
return false;
}

setError(error.message || "An error occurred");
return false;
}
Expand Down

0 comments on commit cf937f0

Please sign in to comment.