mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 10:55:40 -04:00
domain_new.go: use stripped domain name
Fixes https://gitlab.com/commento/commento-ce/issues/19
This commit is contained in:
@ -50,7 +50,7 @@ func domainNewHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = domainModeratorNew(*x.Domain, o.Email); err != nil {
|
if err = domainModeratorNew(domain, o.Email); err != nil {
|
||||||
writeBody(w, response{"success": false, "message": err.Error()})
|
writeBody(w, response{"success": false, "message": err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user