From cb8abacadd198bc6e2d498b2ed3aa7576db40934 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Mon, 6 Mar 2023 14:01:18 +0100 Subject: [PATCH] extend User Copy function --- management/server/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/management/server/user.go b/management/server/user.go index 8492e667f..925beb2b9 100644 --- a/management/server/user.go +++ b/management/server/user.go @@ -98,6 +98,7 @@ func (u *User) Copy() *User { Id: u.Id, Role: u.Role, AutoGroups: autoGroups, + PATs: u.PATs, } }