Skip to content

Instantly share code, notes, and snippets.

@whobutsb
Created May 29, 2022 20:16
Show Gist options
  • Save whobutsb/3a1003812a0599c6d754cb00adfcfa84 to your computer and use it in GitHub Desktop.
Save whobutsb/3a1003812a0599c6d754cb00adfcfa84 to your computer and use it in GitHub Desktop.
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array<int, string>
*/
protected $except = [
'CloudFront-Key-Pair-Id',
'CloudFront-Policy',
'CloudFront-Signature',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment