📜  工程向密码添加要求 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:33.343000             🧑  作者: Mango

代码示例1
To be honest, I find having strict password requirements to 
be an annoyance and not a benefit. I would say as a rule the 
most reasonable is to just specify a length, maybe special 
characters + alphanumeric. Anything more is asking for people 
to write down their password, which defeats the whole purpose 
of having secure passwords. I also hate having to change your
password every x days with the usual ridiculous set of rules 
(e.g. cannot re-use the last 25 passwords) - again all that 
does is force people to write the thing down so they don't 
forget, at which point you might as well not ask 
for a password at all.