mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-28 08:27:09 +02:00
login username password.
This commit is contained in:
parent
5101f0a9c3
commit
7d4f7694b9
4 changed files with 8 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue