Commit 6f92ee8e authored by Taylor Otwell's avatar Taylor Otwell

Fix CSRF token bug.

parent 2a14998b
...@@ -57,7 +57,7 @@ Route::filter('guest', function() ...@@ -57,7 +57,7 @@ Route::filter('guest', function()
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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment