mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 04:35:40 +00:00
refactor: remove label value from logging
This commit is contained in:
@@ -135,7 +135,7 @@ func GetTinyauthLabels(labels map[string]string) types.TinyauthLabels {
|
||||
var tinyauthLabels types.TinyauthLabels
|
||||
for label, value := range labels {
|
||||
if slices.Contains(constants.TinyauthLabels, label) {
|
||||
log.Debug().Str("label", label).Str("value", value).Msg("Found label")
|
||||
log.Debug().Str("label", label).Msg("Found label")
|
||||
switch label {
|
||||
case "tinyauth.oauth.whitelist":
|
||||
tinyauthLabels.OAuthWhitelist = strings.Split(value, ",")
|
||||
|
||||
Reference in New Issue
Block a user