Update the csrf_token constant.

This commit is contained in:
Taylor Otwell
2011-11-23 10:43:25 -06:00
parent b7b5bc6938
commit e4fce8e468

View File

@@ -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();
}
/**