Skip to content

Commit 848438e

Browse files
authored
Merge pull request #2040 from mnoskov/patch-9
[F] check that request is set
2 parents 2e2db99 + c4a34fd commit 848438e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/Providers/SessionServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ protected function registerSessionManager()
2929
*/
3030
public function handleExitWithSession()
3131
{
32+
if (!$this->app->has('request')) {
33+
return;
34+
}
35+
3236
$request = request();
3337

3438
if (!$this->sessionConfigured() ||

0 commit comments

Comments
 (0)