aps/passwdqc/passwdqc_check

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

Compatibility

All user panels - CP and UX1

Parameters

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.

Public Properties

PROPERTY

TYPE

DEFAULT

DESCRIPTION

defaultParams

object

.