Remove explicit naming of domain in setcookie

This commit is contained in:
Joshua Ramon Enslin 2021-05-15 15:37:05 +02:00
parent a06a6ed41d
commit 980c408631
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -345,7 +345,6 @@ final class MD_STD {
$cookie_options = [ $cookie_options = [
'expires' => self::strtotime("+1 month"), 'expires' => self::strtotime("+1 month"),
'path' => '/', 'path' => '/',
'domain' => $_SERVER['SERVER_NAME'],
'secure' => true, 'secure' => true,
'httponly' => true, 'httponly' => true,
'samesite' => 'Lax' // None || Lax || Strict 'samesite' => 'Lax' // None || Lax || Strict