SilverStripe\RealMe\Authenticator::checkPassword
Check if the passed password matches the stored one (if the member is not locked out).
Note, we don't return early, to prevent differences in timings to give away if a member password is invalid. Passwords are not part of this authenticator
Signature
public function checkPassword(Member
$member,
string
$password,
[ValidationResult&
$result = NULL] )
Parameters
$member
— SilverStripe\Security\Member
$password
— string$result
— SilverStripe\ORM\ValidationResult
Returns
- ValidationResult