From 197ee7127b49f04cb4f517e8b6b1ba530e6f7f6c Mon Sep 17 00:00:00 2001 From: mountain Date: Tue, 22 Aug 2023 19:53:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=20noauth=20=ED=94=8C?= =?UTF-8?q?=EB=9E=98=EA=B7=B8=EB=A5=BC=20=EC=95=8C=EB=A6=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/service.go b/core/service.go index 9b6d450..0cc7c90 100644 --- a/core/service.go +++ b/core/service.go @@ -666,6 +666,9 @@ func (sh *serviceDescription) authorize(w http.ResponseWriter, r *http.Request) "newAccount": newaccount, "accid": newauth.Accid.Hex(), } + if *noauth { + output["noauth"] = true + } bt, _ := json.Marshal(output) w.Write(bt) } else if len(session) > 0 {