d
This commit is contained in:
parent
fe1e6d5a31
commit
fbe278926a
|
@ -94,7 +94,7 @@ func registerSubmit(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !db.QueryRow("SELECT 1 FROM beta_keys WHERE key_md5 = ?", cmd5(c.PostForm("key"))).
|
if db.QueryRow("SELECT 1 FROM beta_keys WHERE key_md5 = ?", cmd5(c.PostForm("key"))).
|
||||||
Scan(new(int)) != sql.ErrNoRows {
|
Scan(new(int)) != sql.ErrNoRows {
|
||||||
registerResp(c, errorMessage{T(c, "Invalid Beta Key.")})
|
registerResp(c, errorMessage{T(c, "Invalid Beta Key.")})
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user