Fixed admin password being boolean.

This commit is contained in:
DiddiZ 2017-02-02 22:28:18 +01:00
parent 46edc84421
commit dcb7b79fd7

View File

@ -34,5 +34,5 @@ func AddAdminHandler(pattern string, handler func(http.ResponseWriter, *http.Req
}() }()
// Add the handler: // 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`))
} }