Skip to content

Fortified IDDocs

Single policy

Configure a single password policy for the PasswordReset module.

Use a single policy when the same password rules should apply to all users.

The rules.json file is located in <installation path>\pwdreset\config\modules\rules, where the installation path depends on the operating system and installation setup.

This configuration assumes that the PasswordReset module in pwdreset.json includes the policy file through rule_policies, for example "rule_policies" : "@include:rules/rules.json".

Example of a single policy configuration:

[
{
"id": "default",
"default": true,
"rules": [
{
"type": "lengthMin",
"min": 8,
"description": "password_reset.rules.lengthMin"
},
{
"type": "uppercase",
"description": "password_reset.rules.uppercase"
},
{
"type": "lowercase",
"description": "password_reset.rules.lowercase"
},
{
"type": "special",
"description": "password_reset.rules.special"
},
{
"type": "number",
"description": "password_reset.rules.number"
}
]
}
]