we set randomSeed at boot so I think probably not good to do again

cool @mc-hamster?
pull/592/head
Kevin Hester 2020-12-25 14:53:33 +08:00
rodzic c4b9d60afa
commit c349ad62e7
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -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");