testhelper now expects postdata key number instead of account
This commit is contained in:
parent
f3f9142f0a
commit
999f29d315
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue