From c2ef0e884c94b9b1c1f68ddb909cdb5326038e40 Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Tue, 28 Dec 2021 11:08:54 +0800 Subject: [PATCH] Update auth.go --- http/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/auth.go b/http/auth.go index b57f6167..b5959f1e 100644 --- a/http/auth.go +++ b/http/auth.go @@ -116,8 +116,8 @@ var loginHandler = func(w http.ResponseWriter, r *http.Request, d *data) (int, e } type signupBody struct { - Username string `json:"username"` - Password string `json:"password"` + Username string `json:"username"` + Password string `json:"password"` InvitationCode string `json:"invitationCode"` }