Change bad beta key message and fix extra }}
This commit is contained in:
parent
c9e61da7f0
commit
59a2467018
|
@ -96,7 +96,7 @@ func registerSubmit(c *gin.Context) {
|
||||||
|
|
||||||
errr := db.QueryRow("SELECT id FROM beta_keys WHERE key_md5 = ? AND allowed = 1", cmd5(c.PostForm("key")))
|
errr := db.QueryRow("SELECT id FROM beta_keys WHERE key_md5 = ? AND allowed = 1", cmd5(c.PostForm("key")))
|
||||||
if errr.Scan(new(int)) == sql.ErrNoRows {
|
if errr.Scan(new(int)) == sql.ErrNoRows {
|
||||||
registerResp(c, errorMessage{T(c, "key bad.")})
|
registerResp(c, errorMessage{T(c, "Your Invitation Code is invalid. Please use the form below to obtain one.")})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<div class="ui dropdown item">
|
<div class="ui dropdown item">
|
||||||
<span>{{ .T "Beatmaps" }}</span>
|
<span>{{ .T "Beatmaps" }}</span>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
{{ navbarItem .Path (.T "Listing") "/beatmaps" }} }}
|
{{ navbarItem .Path (.T "Listing") "/beatmaps" }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user