aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware/EncryptCookies.php
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-06-04 13:19:44 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-06-04 13:19:44 +0200
commitdd66a8e2fbe60c18123dd7245ca68b367367a81c (patch)
tree2e43ccdf89653f8d57beff1cee578498fcd4d851 /app/Http/Middleware/EncryptCookies.php
Initial commitHEADmaster
Diffstat (limited to 'app/Http/Middleware/EncryptCookies.php')
-rw-r--r--app/Http/Middleware/EncryptCookies.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php
new file mode 100644
index 0000000..867695b
--- /dev/null
+++ b/app/Http/Middleware/EncryptCookies.php
@@ -0,0 +1,17 @@
+<?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 = [
+ //
+ ];
+}