kopia lustrzana https://github.com/meshtastic/firmware
we set randomSeed at boot so I think probably not good to do again
cool @mc-hamster?pull/592/head
rodzic
c4b9d60afa
commit
c349ad62e7
|
@ -940,8 +940,6 @@ void handleRoot(HTTPRequest *req, HTTPResponse *res)
|
|||
{
|
||||
res->setHeader("Content-Type", "text/html");
|
||||
|
||||
randomSeed(millis());
|
||||
|
||||
res->setHeader("Set-Cookie",
|
||||
"mt_session=" + httpsserver::intToString(random(1, 9999999)) + "; Expires=Wed, 20 Apr 2049 4:20:00 PST");
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue