PHP-039 / Intermediate
Missing Secure, HttpOnly and SameSite cookie settings
Why is this a problem?
Plaintext transmission, JavaScript-based theft and cross-site transmission are possible.
How to fix it
php
'secure' => env('SESSION_SECURE_COOKIE', true),
'http_only' => true,
'same_site' => 'lax',