Skip to content

Commit fbc80b2

Browse files
committed
fix: remove print
1 parent 9368f98 commit fbc80b2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

http_auth.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package main
22

33
import (
4-
"fmt"
5-
64
"github.com/gofiber/fiber/v2"
75
"github.com/prometheus/client_golang/prometheus"
86
)
@@ -83,7 +81,6 @@ func checkAuth(c *fiber.Ctx, config *config, realCheck bool) bool {
8381
// cookie check
8482
cookieVar := c.Cookies(c.Get(httpRequestHeaderConfigCookie, defaultCookieName), "")
8583
if cookieVar != "" {
86-
fmt.Println(cookieVar)
8784
cookieToken, cookieErr := newPersistTokenFromString(cookieVar, config.tokenSecret)
8885
if cookieErr == nil {
8986
return successResponse(config, persistChecksum, aclRuleChallenge, cookieToken.Type, cookieToken.Username, ttl, ip, realCheck)

0 commit comments

Comments
 (0)