Add bounded login challenges, CSRF/origin enforcement, logout, and session-bound WebSocket admission. Isolate private HTTPD access behind a version-guarded adapter and add focused host coverage. Also let empty admin SSH input reach the normal console handler.
10 lines
323 B
C
10 lines
323 B
C
/* SPDX-License-Identifier: GPL-3.0-only */
|
|
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
#include "esp_http_server.h"
|
|
|
|
/* Standalone public login document. Rendering only: authentication, route
|
|
* registration and bounded challenge allocation belong to web_cookie_auth. */
|
|
esp_err_t web_login_ui_send_response(httpd_req_t *request);
|