Skip to content

Commit

Permalink
fix: remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
mhf-ir committed Jan 19, 2023
1 parent 9368f98 commit fbc80b2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions http_auth.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package main

import (
"fmt"

"github.com/gofiber/fiber/v2"
"github.com/prometheus/client_golang/prometheus"
)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fbc80b2

Please sign in to comment.