1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for session domains

This commit is contained in:
David Bomba 2022-01-15 18:50:16 +11:00
parent f68f79c1e8
commit 9bca3ef170

View File

@ -39,9 +39,9 @@ class SessionDomains
}
else{
// Cookie::queue(Cookie::forget('ninja_session_client', '/', $request->getHost()));
Cookie::queue(Cookie::forget('invoice_ninja_session', '/'));
config(['session.domain' => '.' . $request->getHost()]);
config(['session.domain' => $request->getHost()]);
}
return $next($request);