Skip to content

Commit

Permalink
dont serialize session id cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 7, 2018
1 parent c0eb907 commit 7c90d41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Cookie/Middleware/EncryptCookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class EncryptCookies
public function __construct(EncrypterContract $encrypter)
{
$this->encrypter = $encrypter;

$this->serialization[config('session.cookie')] = false;
}

/**
Expand Down

0 comments on commit 7c90d41

Please sign in to comment.