summaryrefslogtreecommitdiffstats
path: root/src/WebAdmin.h
diff options
context:
space:
mode:
authorNiLSPACE <NiLSPACE@users.noreply.github.com>2023-05-25 09:34:39 +0200
committerGitHub <noreply@github.com>2023-05-25 09:34:39 +0200
commit17d5278d593d93a331b79dcf68c60face33b6d7a (patch)
treefb50cb58d2b4a909343921bd66569b80f119435a /src/WebAdmin.h
parentUpdated LTO Check to new standard. (#5476) (diff)
downloadcuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar.gz
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar.bz2
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar.lz
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar.xz
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.tar.zst
cuberite-17d5278d593d93a331b79dcf68c60face33b6d7a.zip
Diffstat (limited to 'src/WebAdmin.h')
-rw-r--r--src/WebAdmin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h
index 682c533b2..a90d7b2d0 100644
--- a/src/WebAdmin.h
+++ b/src/WebAdmin.h
@@ -260,6 +260,9 @@ protected:
Returns true if webadmin is enabled, false if disabled. */
bool LoadIniFile(void);
+ /** Checks inside the webadmin.ini file if there are users configured. */
+ bool HasUsers();
+
/** Handles requests coming to the "/webadmin" or "/~webadmin" URLs */
void HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTTPIncomingRequest & a_Request);