From c349ad62e73f9ad314e086806802c012ba9e414d Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Fri, 25 Dec 2020 14:53:33 +0800 Subject: [PATCH] we set randomSeed at boot so I think probably not good to do again cool @mc-hamster? --- src/meshwifi/meshhttp.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/meshwifi/meshhttp.cpp b/src/meshwifi/meshhttp.cpp index a0183f340..401cb86db 100644 --- a/src/meshwifi/meshhttp.cpp +++ b/src/meshwifi/meshhttp.cpp @@ -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");