typo
This commit is contained in:
parent
290cb1edc6
commit
232cf26ac3
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue