mirror of
https://gitlab.com/commento/commento.git
synced 2026-06-17 09:55:27 -04:00
domain_moderator_delete.go: fix fn param order
This commit is contained in:
@@ -42,7 +42,7 @@ func domainModeratorDeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
domain := stripDomain(*x.Domain)
|
||||
authorised, err := domainOwnershipVerify(domain, o.Email)
|
||||
authorised, err := domainOwnershipVerify(o.OwnerHex, domain)
|
||||
if err != nil {
|
||||
writeBody(w, response{"success": false, "message": err.Error()})
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user