Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c60236

Browse files
committed
Backporting symfony#3929 to 2.3
1 parent 3c95af5 commit 0c60236

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cookbook/security/custom_authentication_provider.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ set an authenticated token in the security context if successful.
150150
// $this->securityContext->setToken(null);
151151
// }
152152
// return;
153-
154-
// Deny authentication with a '403 Forbidden' HTTP response
155-
$response = new Response();
156-
$response->setStatusCode(403);
157-
$event->setResponse($response);
158-
159153
}
160154
161155
// By default deny authorization

0 commit comments

Comments
 (0)