mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Remove unnecessary method call
This is already the default value in the base SetCookie class.
This commit is contained in:
parent
817c2dda0e
commit
891d0990be
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user