Skip to content

Commit 4ea7b0e

Browse files
authored
IBX-5024: Fixed CSRF source for UserSession response in /user/session/check endpoint
1 parent 13480e3 commit 4ea7b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Server/Controller/SessionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function checkSessionAction(Request $request)
160160
$currentUser,
161161
$session->getName(),
162162
$session->getId(),
163-
$request->headers->get('X-CSRF-Token'),
163+
$this->getCsrfToken(),
164164
false
165165
);
166166
}

0 commit comments

Comments
 (0)