mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Don't register member IDs that don't exist in the DB as being logged in.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98265 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
60f93644a0
commit
30382db462
@ -43,7 +43,7 @@ class MemberLoginForm extends LoginForm {
|
||||
$backURL = Session::get('BackURL');
|
||||
}
|
||||
|
||||
if($checkCurrentUser && Member::currentUserID() && Member::logged_in_session_exists()) {
|
||||
if($checkCurrentUser && Member::currentUser() && Member::logged_in_session_exists()) {
|
||||
$fields = new FieldSet(
|
||||
new HiddenField("AuthenticationMethod", null, $this->authenticator_class, $this)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user