Skip to content

Commit ad5d50d

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2 parents 23de646 + 0631cdf commit ad5d50d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ public function getCookie(string $cookieName): mixed
950950
*/
951951
public function getCookieName(string $cookieName): string
952952
{
953-
return $cookieName . ( $this->isHttps ? '_https' : '' );
953+
return ($this->isHttps ? '__Secure-' : '') . $cookieName . ($this->isHttps ? '_https' : '');
954954
}
955955

956956
/**

0 commit comments

Comments
 (0)