You are here

function Username_Constraint::getValidationErrorMessage in Password Policy 5

Overrides Constraint::getValidationErrorMessage

File

constraints/constraint_username.php, line 20

Class

Username_Constraint

Code

function getValidationErrorMessage() {
  return t('Password must differ from the username.');
}