fixes #1157: secure cookies???ßßß
This commit is contained in:
parent
7f41d5eb1e
commit
e11b0db526
|
@ -58,6 +58,7 @@ class SessionServiceProvider extends ServiceProvider
|
||||||
|
|
||||||
return $this->app->make(NativeSessionStorage::class, [
|
return $this->app->make(NativeSessionStorage::class, [
|
||||||
'options' => [
|
'options' => [
|
||||||
|
'cookie_secure' => true,
|
||||||
'cookie_httponly' => true,
|
'cookie_httponly' => true,
|
||||||
'name' => $sessionConfig['name'],
|
'name' => $sessionConfig['name'],
|
||||||
'cookie_lifetime' => (int) ($sessionConfig['lifetime'] * 24 * 60 * 60),
|
'cookie_lifetime' => (int) ($sessionConfig['lifetime'] * 24 * 60 * 60),
|
||||||
|
|
Loading…
Reference in New Issue