diff --git a/controller/misc.go b/controller/misc.go index 630ad93..51b541f 100644 --- a/controller/misc.go +++ b/controller/misc.go @@ -135,9 +135,10 @@ func SendEmailVerification(c *gin.Context) { } if allowed && !containsSpecialSymbols { c.JSON(http.StatusOK, gin.H{ - "success": true, + "success": false, "message": "Your email address is allowed.", }) + return } else { c.JSON(http.StatusOK, gin.H{ "success": false,