Skip to content

Commit

Permalink
check that request is set
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoskov committed Dec 14, 2021
1 parent 2e2db99 commit c4a34fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/Providers/SessionServiceProvider.php
Expand Up @@ -29,6 +29,10 @@ protected function registerSessionManager()
*/
public function handleExitWithSession()
{
if (!$this->app->has('request')) {
return;
}

$request = request();

if (!$this->sessionConfigured() ||
Expand Down

0 comments on commit c4a34fd

Please sign in to comment.