Skip to content

Commit

Permalink
Fix SameSite value
Browse files Browse the repository at this point in the history
  • Loading branch information
Usbac committed Sep 14, 2024
1 parent b6ea940 commit 8c51633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bootstrap/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function setting(?string $key = null): mixed
error_reporting($settings['log_errors'] ? E_ALL : 0);
session_set_cookie_params([
'lifetime' => (int) $settings['session_lifetime'],
'path' => '/;SameSite=' . $settings['samesite_cookie'],
'samesite' => $settings['samesite_cookie'],
]);
session_start();

Expand Down

0 comments on commit 8c51633

Please sign in to comment.