mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-30 19:29:17 +00:00
we set randomSeed at boot so I think probably not good to do again
cool @mc-hamster?
This commit is contained in:
parent
c4b9d60afa
commit
c349ad62e7
@ -940,8 +940,6 @@ void handleRoot(HTTPRequest *req, HTTPResponse *res)
|
|||||||
{
|
{
|
||||||
res->setHeader("Content-Type", "text/html");
|
res->setHeader("Content-Type", "text/html");
|
||||||
|
|
||||||
randomSeed(millis());
|
|
||||||
|
|
||||||
res->setHeader("Set-Cookie",
|
res->setHeader("Set-Cookie",
|
||||||
"mt_session=" + httpsserver::intToString(random(1, 9999999)) + "; Expires=Wed, 20 Apr 2049 4:20:00 PST");
|
"mt_session=" + httpsserver::intToString(random(1, 9999999)) + "; Expires=Wed, 20 Apr 2049 4:20:00 PST");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user