Handle multiple mail values

This commit is contained in:
Chris Mann 2023-07-27 22:19:10 +02:00
parent 2e3441bb76
commit cfaf363702
1 changed files with 1 additions and 1 deletions

View File

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