Development

This commit is contained in:
Simon Sessingø
2016-11-19 04:41:29 +01:00
parent ed1ac74e7a
commit 8f33cc1a39
6 changed files with 39 additions and 13 deletions
@@ -56,7 +56,7 @@ class BaseCsrfVerifier implements IMiddleware
if ($request->getMethod() !== 'get' && !$this->skip($request)) {
$token = $request->getInput()->post->getValue(static::POST_KEY);
$token = $request->getInput()->post->get(static::POST_KEY);
// If the token is not posted, check headers for valid x-csrf-token
if ($token === null) {