diff --git a/app/config/session.php b/app/config/session.php index c4a3a093..bee609e6 100644 --- a/app/config/session.php +++ b/app/config/session.php @@ -11,12 +11,12 @@ return array( | 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', /* |-------------------------------------------------------------------------- diff --git a/app/filters.php b/app/filters.php index 942287bf..021e364c 100644 --- a/app/filters.php +++ b/app/filters.php @@ -73,7 +73,7 @@ Route::filter('guest', function() Route::filter('csrf', function() { - if (Session::getToken() != Input::get('_token')) + if (Session::token() != Input::get('_token')) { throw new Illuminate\Session\TokenMismatchException; }