BUG Prevent basic-auth from disallowing logout

Fixes #7555
This commit is contained in:
Damian Mooyman 2018-01-16 15:21:31 +13:00
parent fc0e0442c8
commit f86b855c90
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

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