Evaluates the password strength.
Javascript port of passwdqc, the brilliant password quality checker library made by Openwall. Find out its implementation in the aps/Password module.
Return: any
Table of contents
All user panels - CP and UX1
ARGUMENT | TYPE | DESCRIPTION |
---|---|---|
newpass |
undefined
|
Password to check. |
oldpass |
undefined
|
Old password to check if new password is not based on it. |
login |
undefined
|
User’s login name to check that password is not based on it. |
gecos |
undefined
|
Any other personal information to check against the new password. |
pms |
undefined
|
Custom parameters for the passwdqc algorithm, see see. |
PROPERTY | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
defaultParams |
object | . |