Merge branch 'develop' into 5.8-dev

This commit is contained in:
James Cole
2023-01-01 15:30:38 +01:00
2 changed files with 3 additions and 3 deletions

View File

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