Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 958717e

Browse files
koprinskiBorislav Koprinski
andauthored
Fix session config driver (#10)
Co-authored-by: Borislav Koprinski <b.koprinski@1forfit.com>
1 parent 9472605 commit 958717e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "1ff/laravel-mongodb-session",
33
"description": "A mongodb session driver for laravel",
44
"type": "library",
5-
"version": "1.1.3",
5+
"version": "1.1.4",
66
"require": {
77
"jenssegers/mongodb": "^3.5|^3.6",
88
"illuminate/session": "^5.0|^6.0"

src/SessionServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SessionServiceProvider extends ParentServiceProvider
1717
*/
1818
public function boot()
1919
{
20-
if (config('session.default') !== 'mongodb') {
20+
if (config('session.driver') !== 'mongodb') {
2121
return;
2222
}
2323

0 commit comments

Comments
 (0)