Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 79cd3ed

Browse files
committed
Replace 403 with 401 in onAuthenticationFailure method
1 parent 2423baf commit 79cd3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guard/GuardAuthenticatorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function createAuthenticatedToken(UserInterface $user, $providerKey);
107107
* Called when authentication executed, but failed (e.g. wrong username password).
108108
*
109109
* This should return the Response sent back to the user, like a
110-
* RedirectResponse to the login page or a 403 response.
110+
* RedirectResponse to the login page or a 401 response.
111111
*
112112
* If you return null, the request will continue, but the user will
113113
* not be authenticated. This is probably not what you want to do.

0 commit comments

Comments
 (0)