Commit 31c0e641 authored by Eric Duminil's avatar Eric Duminil
Browse files

Don't ask for password just to show data

parent cf458c36
Pipeline #5915 passed with stage
in 2 minutes and 25 seconds
...@@ -205,10 +205,6 @@ namespace web_server { ...@@ -205,10 +205,6 @@ namespace web_server {
} }
void handleWebServerRoot() { void handleWebServerRoot() {
if (!shouldBeAllowed()) {
return web_config::http.requestAuthentication(DIGEST_AUTH);
}
unsigned long ss = seconds(); unsigned long ss = seconds();
uint8_t dd = ss / 86400; uint8_t dd = ss / 86400;
ss -= dd * 86400; ss -= dd * 86400;
...@@ -264,9 +260,6 @@ namespace web_server { ...@@ -264,9 +260,6 @@ namespace web_server {
} }
void handleWebServerCSV() { void handleWebServerCSV() {
if (!shouldBeAllowed()) {
return web_config::http.requestAuthentication(DIGEST_AUTH);
}
if (FS_LIB.exists(csv_writer::filename)) { if (FS_LIB.exists(csv_writer::filename)) {
fs::File csv_file = FS_LIB.open(csv_writer::filename, "r"); fs::File csv_file = FS_LIB.open(csv_writer::filename, "r");
char csv_size[10]; char csv_size[10];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment