Skip to content

Firefly III: a personal finances manager

Merge branch 'develop' into 5.8-dev

James Colee4db5f5a21f6
diff --cc app/Http/Middleware/Authenticate.php
index 743eb9b283,ba3d72b53d..2648d557a6
--- a/app/Http/Middleware/Authenticate.php
+++ b/app/Http/Middleware/Authenticate.php
@@@ -121,8 -123,10 +121,10 @@@ class Authenticat
Log::debug('Guard array is not empty.');
foreach ($guards as $guard) {
+ Log::debug(sprintf('Now in guard loop, guard is "%s"', $guard));
+ $this->auth->guard($guard)->authenticate();
if ($this->auth->guard($guard)->check()) {
- /** @noinspection PhpVoidFunctionResultUsedInspection */
+ // According to PHPstan the method returns void, but we'll see.
return $this->auth->shouldUse($guard); // @phpstan-ignore-line
}
}