mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user