mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02:00
parent
fc0e0442c8
commit
f86b855c90
@ -109,10 +109,6 @@ class BasicAuth
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($member instanceof Member) {
|
||||
Security::setCurrentUser($member);
|
||||
}
|
||||
|
||||
if (!$member && $tryUsingSessionLogin) {
|
||||
$member = Security::getCurrentUser();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user