Omeka_Validate_UserPassword

class Omeka_Validate_UserPassword

Package: Validate

Validate a password to see if it matches that of an existing user.

constant INVALID

Invalid password error.

property _messageTemplates

Error message templates.

property _user

User to check the password against.

__construct(User $user)
Parameters:
isValid(string $value, null $context)

Validate against a user’s stored password.

Parameters:
  • $value (string) – Password to check.
  • $context (null) – Not used.