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 {