mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-31 13:09:55 +00:00
Merge remote-tracking branch 'origin/idp-user-cache' into idp-user-cache
# Conflicts: # management/server/account.go
This commit is contained in:
@@ -938,10 +938,11 @@ func (am *DefaultAccountManager) warmupIDPCache() error {
|
||||
if err == nil {
|
||||
data := userData[accountID.Id]
|
||||
if data == nil {
|
||||
data = make([]*idp.UserData, 0, 1)
|
||||
data = make([]*idp.UserData, 1)
|
||||
}
|
||||
|
||||
user.AppMetadata.WTAccountID = accountID.Id
|
||||
|
||||
userData[accountID.Id] = append(data, user)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user