Skip to content

Commit 3fa9ecd

Browse files
committed
Fix: AccessDeniedHttpException code
1 parent 442c7a3 commit 3fa9ecd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Common/EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ExceptionListener
2727
AttributeDefinitionCreationException::class => null,
2828
AdminAttributeCreationException::class => null,
2929
AccessDeniedException::class => 403,
30-
AccessDeniedHttpException::class => 403,
30+
AccessDeniedHttpException::class => 401,
3131
AttachmentFileNotFoundException::class => 404,
3232
SubscriberNotFoundException::class => 404,
3333
MessageNotReceivedException::class => 422,

0 commit comments

Comments
 (0)