mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
73cfe3ab84
commit
7f5838ce3d
@ -31,7 +31,7 @@ class MemberAuthenticator extends Authenticator {
|
|||||||
if($member && ($member->checkPassword($RAW_data['Password']) == false)) {
|
if($member && ($member->checkPassword($RAW_data['Password']) == false)) {
|
||||||
if($member->isLockedOut()) $isLockedOut = true;
|
if($member->isLockedOut()) $isLockedOut = true;
|
||||||
$member->registerFailedLogin();
|
$member->registerFailedLogin();
|
||||||
$member = null;
|
$member = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user