We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33bcf23 commit 99b9264Copy full SHA for 99b9264
app/Http/Middleware/DisableCookies.php
@@ -17,7 +17,7 @@ public function handle(Request $request, Closure $next)
17
return $next($request);
18
}
19
20
- Cookie::queue(Cookie::forget(strtolower(config('app.name')).'_session'));
+ Cookie::queue(Cookie::forget(str_replace(' ', '_', strtolower(config('app.name')).'_session')));
21
Cookie::queue(Cookie::forget('XSRF-TOKEN'));
22
config(['session.driver' => 'array']);
23
0 commit comments