From 59a2467018a3f960f573ae4c71c0ab8481eeb12e Mon Sep 17 00:00:00 2001 From: Alicia Date: Sun, 24 Feb 2019 11:37:45 +0000 Subject: [PATCH] Change bad beta key message and fix extra }} --- register.go | 2 +- templates/navbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/register.go b/register.go index 39fc6c6..4f7f147 100644 --- a/register.go +++ b/register.go @@ -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 } diff --git a/templates/navbar.html b/templates/navbar.html index 53e8962..8f5c043 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -45,7 +45,7 @@ {{ end }}