Commit d9c559ba authored by Taylor Otwell's avatar Taylor Otwell

Tweak for session changes.

parent 997f789c
......@@ -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',
/*
|--------------------------------------------------------------------------
......
......@@ -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;
}
......
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