login username password.

This commit is contained in:
Miroslav Šedivý 2021-03-14 00:32:52 +01:00
parent 5101f0a9c3
commit 7d4f7694b9
4 changed files with 8 additions and 16 deletions

View file

@ -42,11 +42,6 @@ func (h *MembersHandler) membersCreate(w http.ResponseWriter, r *http.Request) {
return
}
if data.Secret == "" {
utils.HttpBadRequest(w, "Secret cannot be empty.")
return
}
if data.Name == "" {
utils.HttpBadRequest(w, "Name cannot be empty.")
return