Name | Type | Description |
---|---|---|
doNotAllowUsername | Boolean | Set to |
maxPasswordAge | Number | Set the number of days after which a password expires. Login attempts fail if the user does not reset the password before expiration. |
maxPasswordHistory | Number | Set the number of previous password that will not be allowed to be set as new password. If the option is not set or set to |
resetPasswordSuccessOnInvalidEmail | Boolean | Set to |
resetTokenReuseIfValid | Boolean | Set to |
resetTokenValidityDuration | Number | Set the validity duration of the password reset token in seconds after which the token expires. The token is used in the link that is set in the email. After the token expires, the link becomes invalid and a new link has to be sent. If the option is not set or set to |
validationError | String | Set the error message to be sent. |
validatorCallback | function | Set a callback function to validate a password to be accepted. |
validatorPattern | String | Set the regular expression validation pattern a password must match to be accepted. |
PasswordPolicyOptions
Properties