Skip to content

Commit f8c130b

Browse files
committed
Merge configuration
1 parent 0583886 commit f8c130b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LaravelStatelessSessionServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function register()
3131
$this->registerSessionManager();
3232

3333
// Automatically apply the package configuration
34-
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'laravel-stateless-session');
34+
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'stateless');
3535

3636
$this->app->singleton('laravel-stateless-session', function () {
3737
return new LaravelStatelessSession;

src/SessionManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function buildSession($handler)
1717
{
1818
return $this->app['config']['session.encrypt']
1919
? $this->buildEncryptedSession($handler)
20-
: new Store($this->app['config']['session.header'], $handler);
20+
: new Store($this->app['config']['stateless.header'], $handler);
2121
}
2222

2323
}

0 commit comments

Comments
 (0)