Fix CSRF token bug.

This commit is contained in:
Taylor Otwell 2013-03-11 13:21:52 -05:00
parent 2a14998be9
commit 6f92ee8efd
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
Route::filter('csrf', function() Route::filter('csrf', function()
{ {
if (Session::getToken() != Input::get('csrf_token')) if (Session::getToken() != Input::get('_token'))
{ {
throw new Illuminate\Session\TokenMismatchException; throw new Illuminate\Session\TokenMismatchException;
} }