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.
1 parent 9db65f0 commit 361c2fbCopy full SHA for 361c2fb
packages/http/src/Session/x-csrf-token.view.php
@@ -4,8 +4,6 @@
4
5
use function Tempest\get;
6
7
-$name = Session::CSRF_TOKEN_KEY;
8
-$token = get(Session::class)->token;
9
?>
10
11
-<input type="hidden" name="{{ $name }}" value="{{ $token }}" />
+<input type="hidden" name="{{ Session::CSRF_TOKEN_KEY }}" value="{{ get(Session::class)->token }}" />
0 commit comments