diff --git a/testhelper.go b/testhelper.go index a069ab4..d3ee597 100644 --- a/testhelper.go +++ b/testhelper.go @@ -21,7 +21,7 @@ func main() { crash(err) http.HandleFunc("/helper/verification-code", func(w http.ResponseWriter, r *http.Request) { - account := r.PostFormValue("account") + account := r.PostFormValue("number") var code string err := db.QueryRow("SELECT verification_code FROM pending_accounts WHERE number = $1", account).Scan(&code) log.Printf("Looking for verification code for %s", account)