From ba1d8950391b885efa94c785e0372eb07433e011 Mon Sep 17 00:00:00 2001 From: Artyom Belousov Date: Sat, 11 May 2019 17:10:24 +0300 Subject: [PATCH] Fixed auth bug --- vk/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vk/handlers.go b/vk/handlers.go index 7865a7c..40a3a45 100644 --- a/vk/handlers.go +++ b/vk/handlers.go @@ -11,6 +11,7 @@ func HandleMessage(c *gin.Context) { c.BindJSON(&req) if (req.Type == "confirmation") && (req.GroupId == GROUPID) { c.String(http.StatusOK, CONFIRMATION_STRING) + return } if req.Secret != SECRET_KEY { return