James Cole
2023-01-01 15:27:14 +01:00
parent b0b65c3f04
commit 3c1f44f554
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,6 @@ class RemoteUserGuard implements Guard
public function guest(): bool
{
Log::debug(sprintf('Now at %s', __METHOD__));
$this->authenticate();
return !$this->check();
}
@@ -129,7 +128,6 @@ class RemoteUserGuard implements Guard
public function check(): bool
{
Log::debug(sprintf('Now at %s', __METHOD__));
$this->authenticate();
return !is_null($this->user());
}
@@ -139,7 +137,7 @@ class RemoteUserGuard implements Guard
public function user(): ?User
{
Log::debug(sprintf('Now at %s', __METHOD__));
$this->authenticate();
//$this->authenticate();
return $this->user;
}