2016-03-15 100 views
1

当我使用Auth::check()Auth::logout()Auth::attempt(['email' => $email, 'password' => $password], $remember)不支持Driver [session]。在laravel 5.2错误?

我收到以下错误,

InvalidArgumentException in Manager.php line 90: Driver [session] not supported. 

enter image description here

我无奈地解决这一问题?

+0

请寄出导致错误的代码。 –

+0

在'Http/Kernel.php'中是否启用了'StartSession'中间件? – jszobody

+0

@jszobody里面有'$ middlewareGroups'里面有 – gsk

回答

0

将config/session.php驱动更改为数据库或文件