Keep username/email in response

This commit is contained in:
dump_stack() 2023-01-16 19:05:56 +00:00
parent 0a5c8ad3e9
commit 86a52f0163
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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