mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Merge branch 'develop' into 5.8-dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user