Skip to content

Commit 9112b6a

Browse files
committed
show 2 first chars of Token in debug mode
1 parent 167f555 commit 9112b6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/env/env.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ func Load() {
9999

100100
ENV.BLOCKED_ENDPOINTS = []string{}
101101
} else {
102+
for _, token := range apiTokens {
103+
log.Debug("Found Token: " + token[:2] + strconv.Itoa(len(token)))
104+
}
105+
102106
log.Debug("Registered " + strconv.Itoa(len(apiTokens)) + " Tokens")
103107

104108
ENV.API_TOKENS = apiTokens

0 commit comments

Comments
 (0)