diff --git a/register.go b/register.go index 551405c..a573a36 100644 --- a/register.go +++ b/register.go @@ -100,7 +100,7 @@ func registerSubmit(c *gin.Context) { for errr.Next() { i++ } - if errr == 0 { + if i == 0 { registerResp(c, errorMessage{T(c, "Invalid Beta Key.")}) return }