From f23f00231c1693ff63d366fbb8e1bb00761e65be Mon Sep 17 00:00:00 2001 From: Alicia Date: Sat, 23 Feb 2019 16:51:12 +0000 Subject: [PATCH] navbar change --- register.go | 1 - templates/navbar.html | 19 ++++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/register.go b/register.go index 3c1df77..8f99970 100644 --- a/register.go +++ b/register.go @@ -95,7 +95,6 @@ func registerSubmit(c *gin.Context) { } errr := db.QueryRow("SELECT id FROM beta_keys WHERE key_md5 = ? AND allowed = 1", cmd5(c.PostForm("key"))) - fmt.Printf("%v", errr) if errr.Scan(new(int)) == sql.ErrNoRows { registerResp(c, errorMessage{T(c, "key bad.")}) return diff --git a/templates/navbar.html b/templates/navbar.html index a725ac2..5de541c 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -5,7 +5,7 @@