Fixed cookie deletion inconsistency for session management
This commit is contained in:
parent
33bcf236c2
commit
99b92641f3
|
@ -17,7 +17,7 @@ class DisableCookies
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
Cookie::queue(Cookie::forget(strtolower(config('app.name')).'_session'));
|
Cookie::queue(Cookie::forget(str_replace(' ', '_', strtolower(config('app.name')).'_session')));
|
||||||
Cookie::queue(Cookie::forget('XSRF-TOKEN'));
|
Cookie::queue(Cookie::forget('XSRF-TOKEN'));
|
||||||
config(['session.driver' => 'array']);
|
config(['session.driver' => 'array']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue