After Update default Logout not working

Posted 3 years ago by matalina

I just updated to the latest composer package and now my logout function isn't working.

FatalErrorException in VerifyCsrfToken.php line 101:
Call to undefined method Symfony\Component\HttpFoundation\HeaderBag::setCookie()

This method does not exist, did Symphony have a change?

Using a route binder:

$router->group(['middleware' => ['auth']], function () use ($router)
            $router->get('logout', [
                'as' => 'logout',
                'uses' => 'App\Http\Controllers\Auth\AuthController@getLogout'

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.