From b7ce42c8a9a6f458cc1537f6aeefe0b5f7ab150c Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Mon, 31 May 2021 03:56:00 -0700 Subject: you should not be able to see verify page without modkey --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 29b93fd..1942135 100644 --- a/main.go +++ b/main.go @@ -703,8 +703,8 @@ func main() { http.Redirect(w, r, "/", http.StatusSeeOther) } } else { - t := template.Must(template.ParseFiles("./static/verify.html")) - t.Execute(w, "") + w.WriteHeader(http.StatusBadRequest) + w.Write([]byte("404 no path")) } }) -- cgit v1.2.3