fix: remove logs

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

View File

@ -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)
}