Skip to content

Commit 3450d3f

Browse files
authored
Merge pull request #23 from CodeShellDev/dev
removed the Token debug that leaks the first 2 chars
2 parents 52e9935 + d555488 commit 3450d3f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/env/env.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package env
33
import (
44
"os"
55
"strconv"
6-
"strings"
76

87
middlewares "github.com/codeshelldev/secured-signal-api/internals/proxy/middlewares"
98
"github.com/codeshelldev/secured-signal-api/utils"
@@ -100,10 +99,6 @@ func Load() {
10099

101100
ENV.BLOCKED_ENDPOINTS = []string{}
102101
} else {
103-
for _, token := range apiTokens {
104-
log.Debug("Found Token: " + token[:2] + strings.Repeat("X", len(token) - 2))
105-
}
106-
107102
log.Debug("Registered " + strconv.Itoa(len(apiTokens)) + " Tokens")
108103

109104
ENV.API_TOKENS = apiTokens

0 commit comments

Comments
 (0)