From 86a52f01631b0ac9f4a43fbb170b3fee1f56cba0 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 16 Jan 2023 19:05:56 +0000 Subject: [PATCH] Keep username/email in response --- auth/auth.go | 1 - 1 file changed, 1 deletion(-) diff --git a/auth/auth.go b/auth/auth.go index 9d89ca8..4c25343 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -162,7 +162,6 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { err = auth(conn, params.Email, params.Password) if err != nil { response.Error = fmt.Sprint(err) - return } response.Username = params.Username