Change bad beta key message and fix extra }}

This commit is contained in:
Alicia 2019-02-24 11:37:45 +00:00
parent c9e61da7f0
commit 59a2467018
2 changed files with 2 additions and 2 deletions

View File

@ -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")))
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
}

View File

@ -45,7 +45,7 @@
<div class="ui dropdown item">
<span>{{ .T "Beatmaps" }}</span>
<div class="menu">
{{ navbarItem .Path (.T "Listing") "/beatmaps" }} }}
{{ navbarItem .Path (.T "Listing") "/beatmaps" }}
</div>
</div>
{{ end }}