Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Uses `php.ini` setting for default value of required cookie attribute `samesite`.
  • Loading branch information
chris001 committed Mar 9, 2024
1 parent b737e06 commit d398ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/MVC/SugarApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ public static function setCookie(
if(empty($defaultCookieSameSite)) {
$samesite = 'Strict';
} else {
$path = $defaultCookieSameSite;
$samesite = $defaultCookieSameSite;
}
}

Expand Down

0 comments on commit d398ba5

Please sign in to comment.