We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77d3140 commit c3d8020Copy full SHA for c3d8020
1 file changed
system/Security/Security.php
@@ -343,8 +343,8 @@ private function getPostedToken(RequestInterface $request): ?string
343
344
// Does the token exist in POST, HEADER or optionally php:://input - json data.
345
346
- if ($tokenName = $request->getPost($this->tokenName)) {
347
- return $tokenName;
+ if ($tokenValue = $request->getPost($this->tokenName)) {
+ return $tokenValue;
348
}
349
350
if ($request->hasHeader($this->headerName) && ! empty($request->header($this->headerName)->getValue())) {
0 commit comments