James Cole committed 2023-01-01 15:27:14 +01:00
1 parent b0b65c3f04
commit 3c1f44f554
2 files changed
+3 -3

No files matched your search

+2
View File
@@ -123,6 +123,8 @@ class Authenticate
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 */
return $this->auth->shouldUse($guard); // @phpstan-ignore-line