Commit e4fce8e4 authored by Taylor Otwell's avatar Taylor Otwell

Update the csrf_token constant.

parent b7b5bc69
......@@ -124,7 +124,7 @@ class Request {
*/
public static function forged()
{
return Input::get(Session::token) !== IoC::core('session')->token();
return Input::get(Session::csrf_token) !== IoC::core('session')->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