Browse Source

Update csrf_token constant.

Taylor Otwell 13 years ago
parent
commit
9b785fd70f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/form.php

+ 1 - 1
laravel/form.php

@@ -155,7 +155,7 @@ class Form {
 	{
 		$token = IoC::core('session')->token();
 
-		return static::input('hidden', Session::token, $token);
+		return static::input('hidden', Session::csrf_token, $token);
 	}
 
 	/**