From 980c4086317f814465cc40d1078853a5fde95f3f Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sat, 15 May 2021 15:37:05 +0200 Subject: [PATCH] Remove explicit naming of domain in setcookie --- src/MD_STD.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MD_STD.php b/src/MD_STD.php index a4cb03a..209a1d3 100644 --- a/src/MD_STD.php +++ b/src/MD_STD.php @@ -345,7 +345,6 @@ final class MD_STD { $cookie_options = [ 'expires' => self::strtotime("+1 month"), 'path' => '/', - 'domain' => $_SERVER['SERVER_NAME'], 'secure' => true, 'httponly' => true, 'samesite' => 'Lax' // None || Lax || Strict