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:
parent
f68f79c1e8
commit
9bca3ef170
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user