Keep username/email in response
This commit is contained in:
parent
0a5c8ad3e9
commit
86a52f0163
@ -162,7 +162,6 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
err = auth(conn, params.Email, params.Password)
|
err = auth(conn, params.Email, params.Password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
response.Error = fmt.Sprint(err)
|
response.Error = fmt.Sprint(err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
response.Username = params.Username
|
response.Username = params.Username
|
||||||
|
Loading…
Reference in New Issue
Block a user