We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bfca2ec + f55b925 commit 9e03327Copy full SHA for 9e03327
src/foundation/src/Http/Middleware/VerifyCsrfToken.php
@@ -116,6 +116,7 @@ protected function tokensMatch(): bool
116
protected function getTokenFromRequest(): ?string
117
{
118
return $this->request->input('_token')
119
+ ?? $this->request->header('X-XSRF-TOKEN')
120
?? $this->request->header('X-CSRF-TOKEN')
121
?? null;
122
}
0 commit comments