Skip to content

Commit 6f92ee8

Browse files
committed
Fix CSRF token bug.
1 parent 2a14998 commit 6f92ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
Route::filter('csrf', function()
5959
{
60-
if (Session::getToken() != Input::get('csrf_token'))
60+
if (Session::getToken() != Input::get('_token'))
6161
{
6262
throw new Illuminate\Session\TokenMismatchException;
6363
}

0 commit comments

Comments
 (0)