Merge pull request #7758 from open-sausages/pulls/4.0/prevent-unlogout-basicauth

BUG Prevent basic-auth from disallowing logout
This commit is contained in:
Robbie Averill 2018-01-16 23:30:40 +13:00 committed by GitHub
commit 4618998479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,10 +109,6 @@ class BasicAuth
return true;
}
if ($member instanceof Member) {
Security::setCurrentUser($member);
}
if (!$member && $tryUsingSessionLogin) {
$member = Security::getCurrentUser();
}