Skip to content

Commit abd70d5

Browse files
committed
added what I actually wanted to :)
1 parent 9112b6a commit abd70d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/env/env.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package env
33
import (
44
"os"
55
"strconv"
6+
"strings"
67

78
middlewares "github.com/codeshelldev/secured-signal-api/internals/proxy/middlewares"
89
"github.com/codeshelldev/secured-signal-api/utils"
@@ -100,7 +101,7 @@ func Load() {
100101
ENV.BLOCKED_ENDPOINTS = []string{}
101102
} else {
102103
for _, token := range apiTokens {
103-
log.Debug("Found Token: " + token[:2] + strconv.Itoa(len(token)))
104+
log.Debug("Found Token: " + token[:2] + strings.Repeat("X", len(token)))
104105
}
105106

106107
log.Debug("Registered " + strconv.Itoa(len(apiTokens)) + " Tokens")

0 commit comments

Comments
 (0)