Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit d781c1b

Browse files
author
Marvin Kuhn
committed
added status error 403 support
1 parent c424b63 commit d781c1b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Configuration/NodeTypes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
editorOptions:
2424
multiple: true
2525
values:
26+
403:
27+
label: '403 - Forbidden'
2628
404:
2729
label: '404 - Not Found'
2830
410:

Configuration/Settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Neos:
1212
exceptionHandler:
1313
renderingGroups:
1414
notFoundExceptions:
15-
matchingStatusCodes: [ 404, 410 ]
15+
matchingStatusCodes: [ 403, 404, 410 ]
1616
options:
1717
templatePathAndFilename: 'resource://Breadlesscode.ErrorPages/Private/Templates/ErrorPage.html'

0 commit comments

Comments
 (0)