git.sophuwu.com > authuwu
idk
parent

86d1e146d40962c31ec228986106a16c42e1b11d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M authuwu.goauthuwu.go

@@ -56,8 +56,8 @@

func (h *AuthuwuHandler) loginHandler(w http.ResponseWriter, r *http.Request) { if r.Method != http.MethodPost { w.Header().Set("Content-Type", "text/html; charset=utf-8") - fmt.Fprint(w, h.LoginPage) w.WriteHeader(http.StatusOK) + fmt.Fprint(w, h.LoginPage) return } username := r.FormValue("username")