Browse Source

Update the csrf_token constant.

Taylor Otwell 13 years ago
parent
commit
e4fce8e468
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/request.php

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