From dcb7b79fd7836bd0362de2b6d9229cf4dac3872b Mon Sep 17 00:00:00 2001 From: DiddiZ Date: Thu, 2 Feb 2017 22:28:18 +0100 Subject: [PATCH] Fixed admin password being boolean. --- Handlers/AddHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Handlers/AddHandler.go b/Handlers/AddHandler.go index da06a3a..782c197 100644 --- a/Handlers/AddHandler.go +++ b/Handlers/AddHandler.go @@ -34,5 +34,5 @@ func AddAdminHandler(pattern string, handler func(http.ResponseWriter, *http.Req }() // Add the handler: - muxAdmin.HandleFunc(pattern, BasicAuth(handler, `admin`, ConfigurationDB.Read(`AdminWebServerEnabled`), `Please enter your username and password for this site`)) + muxAdmin.HandleFunc(pattern, BasicAuth(handler, `admin`, ConfigurationDB.Read(`AdminWebServerPassword`), `Please enter your username and password for this site`)) }