mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Update StartSession.php
This commit is contained in:
parent
06c32b668d
commit
076a71c621
|
@ -68,6 +68,7 @@ class StartSession implements MiddlewareInterface
|
||||||
SetCookie::create($session->getName(), $session->getId())
|
SetCookie::create($session->getName(), $session->getId())
|
||||||
->withPath('/')
|
->withPath('/')
|
||||||
->withHttpOnly(true)
|
->withHttpOnly(true)
|
||||||
|
->withSecure(true)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user