Tweak for session changes.

This commit is contained in:
Taylor Otwell 2013-04-16 22:36:51 -05:00
parent 997f789c47
commit d9c559ba7f
2 changed files with 3 additions and 3 deletions

View File

@ -11,12 +11,12 @@
| requests. By default we will use the light-weight cookie driver but | requests. By default we will use the light-weight cookie driver but
| you may specify any of the other wonderful drivers provided here. | you may specify any of the other wonderful drivers provided here.
| |
| Supported: "cookie", "file", "database", "apc", | Supported: "native", "file", "database", "apc",
| "memcached", "redis", "array" | "memcached", "redis", "array"
| |
*/ */
'driver' => 'cookie', 'driver' => 'native',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

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