feat: (rbac) login response

This commit is contained in:
xushuhui 2022-04-20 16:19:22 +08:00
parent cbef25d4ce
commit e25fc8da10
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ func (h Account) Login(w http.ResponseWriter, r *http.Request, ps httprouter.Par
h.Error(w, err)
return
}
data["status"] = "ok"
h.WriteOKJSON(w, data)
}