We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b8f82 commit 4052f6aCopy full SHA for 4052f6a
security/guard_authentication.rst
@@ -590,7 +590,7 @@ are two possible fixes:
590
public function supports(Request $request)
591
{
592
+ // if there is already an authenticated user (likely due to the session)
593
- + // then return null and skip authentication: there is no need.
+ + // then return false and skip authentication: there is no need.
594
+ if ($this->security->getUser()) {
595
+ return false;
596
+ }
0 commit comments