Commit 8e5852b7 authored by Taylor Otwell's avatar Taylor Otwell

Use constant for CSRF token.

parent a739afc3
<?php namespace Laravel;
use Laravel\Session\Payload as Session;
class Form {
/**
......@@ -153,7 +155,7 @@ class Form {
{
$token = IoC::core('session')->token();
return static::input('hidden', 'csrf_token', $token);
return static::input('hidden', Session::token, $token);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment