You are here

function password_policy_constraint_delay_error in Password Policy 7

Same name and namespace in other branches
  1. 6 constraints/constraint_delay.inc \password_policy_constraint_delay_error()

Error message of the constraint.

File

constraints/constraint_delay.inc, line 24
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.');
}