mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Update StartSession.php
This commit is contained in:
@@ -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)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user