mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-26 00:06:53 +09:00
types/authkey: include user object in response (#2542)
* types/authkey: include user object, not string Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * make preauthkeys use id Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * changelog Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * integration: wire up user id for auth keys Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --------- Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
1 parent
f1206328dc
commit
8f9fbf16f1
23 files changed
+454
-779
No files matched your search
@@ -111,7 +111,7 @@ func generateUserProfiles(
|
||||
}
|
||||
|
||||
slices.Sort(ids)
|
||||
slices.Compact(ids)
|
||||
ids = slices.Compact(ids)
|
||||
var profiles []tailcfg.UserProfile
|
||||
for _, id := range ids {
|
||||
if userMap[id] != nil {
|
||||
|
||||
Reference in new issue
Block a user