Tweak for session changes.
This commit is contained in:
parent
997f789c47
commit
d9c559ba7f
|
@ -11,12 +11,12 @@
|
|||
| requests. By default we will use the light-weight cookie driver but
|
||||
| you may specify any of the other wonderful drivers provided here.
|
||||
|
|
||||
| Supported: "cookie", "file", "database", "apc",
|
||||
| Supported: "native", "file", "database", "apc",
|
||||
| "memcached", "redis", "array"
|
||||
|
|
||||
*/
|
||||
|
||||
'driver' => 'cookie',
|
||||
'driver' => 'native',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
Route::filter('csrf', function()
|
||||
{
|
||||
if (Session::getToken() != Input::get('_token'))
|
||||
if (Session::token() != Input::get('_token'))
|
||||
{
|
||||
throw new Illuminate\Session\TokenMismatchException;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue