This commit is contained in:
binwiederhier
2025-07-31 10:26:53 +02:00
parent 747c5c9fff
commit e290d1307f
2 changed files with 455 additions and 2 deletions

View File

@@ -636,8 +636,9 @@ func parseTokens(users []*user.User, tokensRaw []string) (map[string][]*user.Tok
tokens[username] = make([]*user.Token, 0)
}
tokens[username] = append(tokens[username], &user.Token{
Value: token,
Label: label,
Value: token,
Label: label,
Provisioned: true,
})
}
return tokens, nil