Handle multiple mail values

This commit is contained in:
Chris Mann 2023-07-27 22:19:10 +02:00
parent 2e3441bb76
commit cfaf363702

View file

@ -29,7 +29,7 @@ func handleUserMail(w http.ResponseWriter, r *http.Request) {
return return
} }
email := r.FormValue("email") email := r.FormValue("email")
action := r.FormValue("add") action := r.FormValue("action")
var err error var err error
if action == "Add" { if action == "Add" {
// Add the new mail value to the entry // Add the new mail value to the entry