File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
src/bundle/Resources/config Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1126,6 +1126,13 @@ ibexa.rest.create_session:
11261126 csrf_protection : false
11271127 methods : [POST]
11281128
1129+ ibexa.rest.check_session :
1130+ path : /user/sessions/current
1131+ controller : Ibexa\Rest\Server\Controller\SessionController::checkSessionAction
1132+ methods : [GET]
1133+ defaults :
1134+ csrf_protection : false
1135+
11291136ibexa.rest.delete_session :
11301137 path : /user/sessions/{sessionId}
11311138 defaults :
@@ -1140,12 +1147,6 @@ ibexa.rest.refresh_session:
11401147 csrf_protection : false
11411148 methods : [POST]
11421149
1143- ibexa.rest.check_session :
1144- path : /user/sessions
1145- controller : Ibexa\Rest\Server\Controller\SessionController::checkSessionAction
1146- methods : [GET]
1147- defaults :
1148- csrf_protection : false
11491150
11501151# URL aliases
11511152
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public function testCheckSession(): void
153153 $ session = $ this ->login ();
154154 $ request = $ this ->createHttpRequest (
155155 'GET ' ,
156- '/api/ibexa/v2/user/sessions ' ,
156+ '/api/ibexa/v2/user/sessions/current ' ,
157157 '' ,
158158 'Session+json ' ,
159159 '' ,
@@ -176,7 +176,7 @@ public function testCheckSessionWithoutOne(): void
176176 {
177177 $ request = $ this ->createHttpRequest (
178178 'GET ' ,
179- '/api/ibexa/v2/user/sessions ' ,
179+ '/api/ibexa/v2/user/sessions/current ' ,
180180 '' ,
181181 'Session+json '
182182 );
You can’t perform that action at this time.
0 commit comments