mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-27 20:45:35 -04:00
not doing any more
This commit is contained in:
parent
5ab9f0b2c2
commit
b11e7978d0
10 changed files with 49 additions and 23 deletions
|
@ -34,8 +34,7 @@ const passwordValid = () => {
|
|||
|
||||
const passwordValidityCheck = (password) => {
|
||||
if (!/\d/.test(password)) return false;
|
||||
if (!/[\!@#%\^&\*\(\)\_\+\-=\[\]{}\|;':",\.\/\<\>\~\`]/.test(password))
|
||||
return false;
|
||||
if (!/[!@#%^&*()_+\-=[\]{}|;':",./<>~`]/.test(password)) return false;
|
||||
if (password.length < 8) return false;
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue