Skip to content

Commit 4a17442

Browse files
ker0x94noni
andauthored
Update security/voters.rst
Co-authored-by: Antoine M <amakdessi@me.com>
1 parent 9c3450e commit 4a17442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ Changing the message and status code returned
460460

461461
By default, the ``#[IsGranted]`` attribute will throw a
462462
:class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
463-
and return a **403** status code with **Access Denied** as message.
463+
and return an http **403** status code with **Access Denied** as message.
464464

465465
However, you can change this behavior by specifying the message and status code returned::
466466

0 commit comments

Comments
 (0)