BUGFIX: MemberAuthenticator::authenticate() returns a member object or false, in keeping with the current docs.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80250 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-06-28 02:48:33 +00:00
parent 73cfe3ab84
commit 7f5838ce3d

View File

@ -31,7 +31,7 @@ class MemberAuthenticator extends Authenticator {
if($member && ($member->checkPassword($RAW_data['Password']) == false)) {
if($member->isLockedOut()) $isLockedOut = true;
$member->registerFailedLogin();
$member = null;
$member = false;
}
}