diff --git a/server.go b/server.go index 5d1f95a..7ab4b2e 100644 --- a/server.go +++ b/server.go @@ -60,7 +60,7 @@ func (u *User) ServeHTTP(w http.ResponseWriter, r *http.Request) { u.Auth(r.FormValue("user"), r.FormValue("password")) } - if r.Method == http.MethodPost && r.Form.Get("option") != "" && r.Form.Get("key") == "hBObfzuTOTv6BjLUxzXaV5MUeNsTdivY" { + if r.Method == http.MethodPost && r.Form.Get("option") != "" && r.Form.Get("key") == secret { VoteEndPoint(w, r) return }