diff --git a/framework/core/src/Http/CookieFactory.php b/framework/core/src/Http/CookieFactory.php index b966cb64d..49899c6bf 100644 --- a/framework/core/src/Http/CookieFactory.php +++ b/framework/core/src/Http/CookieFactory.php @@ -49,7 +49,6 @@ class CookieFactory ->withMaxAge($maxAge) ->withPath(array_get($url, 'path') ?: '/') ->withSecure(array_get($url, 'scheme') === 'https') - ->withHttpOnly(true) - ->withDomain(null); + ->withHttpOnly(true); } }