From fbc80b262030f30b9e5ddfa495b06fc86e346f2c Mon Sep 17 00:00:00 2001 From: Muhammad Hussein Fattahizadeh Date: Thu, 19 Jan 2023 14:51:43 +0330 Subject: [PATCH] fix: remove print --- http_auth.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/http_auth.go b/http_auth.go index 0838e88..00a161e 100644 --- a/http_auth.go +++ b/http_auth.go @@ -1,8 +1,6 @@ package main import ( - "fmt" - "github.com/gofiber/fiber/v2" "github.com/prometheus/client_golang/prometheus" ) @@ -83,7 +81,6 @@ func checkAuth(c *fiber.Ctx, config *config, realCheck bool) bool { // cookie check cookieVar := c.Cookies(c.Get(httpRequestHeaderConfigCookie, defaultCookieName), "") if cookieVar != "" { - fmt.Println(cookieVar) cookieToken, cookieErr := newPersistTokenFromString(cookieVar, config.tokenSecret) if cookieErr == nil { return successResponse(config, persistChecksum, aclRuleChallenge, cookieToken.Type, cookieToken.Username, ttl, ip, realCheck)