From e4fce8e468768478aea3004838356986885c4612 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 23 Nov 2011 10:43:25 -0600 Subject: [PATCH] Update the csrf_token constant. --- laravel/request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/request.php b/laravel/request.php index 91ce26a1..07f8657f 100644 --- a/laravel/request.php +++ b/laravel/request.php @@ -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(); } /**