We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ef729 commit bc12c12Copy full SHA for bc12c12
1 file changed
Session.php
@@ -102,7 +102,8 @@ class Session implements SessionInterface
102
*/
103
public function __construct(array $config, array $cookie, protected string $ipAddress)
104
{
105
- $this->config = array_merge($this->config, $config);
+ $this->config = array_merge($this->config, $config);
106
+ $this->config['cookie_name'] = str_replace(' ', '-', strtolower($this->config['cookie_name']));
107
108
$this->cookie = Cookie::create(
109
$this->config['cookie_name'],
0 commit comments