Not support other special symbols,such as $%^&
Closed this issue · 3 comments
alanmpc commented
tunogya commented
const regex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&#.:'^])[A-Za-z\d@$!%*?&#.:'^]{12,}$/
Now, only support those characters. It can be updated later.
tunogya commented
Similarly, there's no need to include a specific combination of numbers, uppercase letters, lowercase letters, and symbols. Doing so doesn't necessarily make the password stronger. What's more important is that the words used are random. However, because some services have specific character requirements, the random password generator includes options to accommodate those requirements – not because it makes a stronger password, but because it makes it easier for you to create a password that works.
tunogya commented
now, no space, no chinese characters, no emoji, no full-width symbols, but at least 16 chars