function password_policy_constraint_delay_error in Password Policy 6
Same name and namespace in other branches
- 7 constraints/constraint_delay.inc \password_policy_constraint_delay_error()
Error message of the constraint.
File
- constraints/
constraint_delay.inc, line 26 - Password policy constraint callback to set a minimum delay between password changes.
Code
function password_policy_constraint_delay_error($constraint) {
return format_plural($constraint, 'Password may only be changed in an hour from the last change.', 'Password may only be changed in @count hours from the last change.');
}