From d4b295320edafa6a1254df03ed5e8c0b8928b9f9 Mon Sep 17 00:00:00 2001 From: Lakhan Samani Date: Thu, 22 Jul 2021 05:58:01 +0530 Subject: [PATCH] fix: remove logs --- server/utils/cookie.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/utils/cookie.go b/server/utils/cookie.go index bd8663c..55053cb 100644 --- a/server/utils/cookie.go +++ b/server/utils/cookie.go @@ -1,8 +1,6 @@ package utils import ( - "log" - "github.com/gin-gonic/gin" "github.com/yauthdev/yauth/server/constants" ) @@ -15,8 +13,6 @@ func SetCookie(gc *gin.Context, token string) { secure = false } host := GetFrontendHost() - log.Println("-> is cookie secure", secure) - log.Println("-> host:", host) gc.SetCookie(constants.COOKIE_NAME, token, 3600, "/", host, secure, httpOnly) }