git.sophuwu.com > authuwu
idk
sophuwu sophie@sophuwu.com
Thu, 17 Jul 2025 00:24:15 +0200
commit

8755549e8fedfd3d630bc50be92a89a206ebbbcf

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")