Skip to content

Commit 1b37f6c

Browse files
committed
Set allowed methods
1 parent 4fe72d3 commit 1b37f6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

routing/routes/routes.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
negotiate-auth:
22
path: /auth
33
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::auth' }
4+
methods: [GET]
45

56
negotiate-error:
67
path: /error
78
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::error' }
9+
methods: [GET]
810

911
negotiate-enable:
1012
path: /enable
1113
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::enable' }
14+
methods: [GET]
1215

1316
negotiate-disable:
1417
path: /disable
1518
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::disable' }
19+
methods: [GET]
1620

1721
negotiate-retry:
1822
path: /retry
1923
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::retry' }
24+
methods: [GET]
2025

2126
negotiate-fallback:
2227
path: /fallback
2328
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::fallback' }
29+
methods: [GET]

0 commit comments

Comments
 (0)