79112463

Date: 2024-10-22 04:46:56
Score: 0.5
Natty:
Report link

In laravel 11 you can exclude cookies from encryption as follow in

bootstrap/app.php

->withMiddleware(function (Middleware $middleware) {
    $middleware->encryptCookies(except: [
        'cookie_name_to_exclude',
    ]);
})

you can find in official docs at here

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mark_dot