fix: remove logs

This commit is contained in:
Lakhan Samani
2021-07-22 05:58:01 +05:30
parent bc3963edde
commit e352d530b5

View File

@@ -1,8 +1,6 @@
package utils package utils
import ( import (
"log"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/yauthdev/yauth/server/constants" "github.com/yauthdev/yauth/server/constants"
) )
@@ -15,8 +13,6 @@ func SetCookie(gc *gin.Context, token string) {
secure = false secure = false
} }
host := GetFrontendHost() host := GetFrontendHost()
log.Println("-> is cookie secure", secure)
log.Println("-> host:", host)
gc.SetCookie(constants.COOKIE_NAME, token, 3600, "/", host, secure, httpOnly) gc.SetCookie(constants.COOKIE_NAME, token, 3600, "/", host, secure, httpOnly)
} }