mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-26 14:29:08 +01: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 {
|
if err == nil {
|
||||||
data := userData[accountID.Id]
|
data := userData[accountID.Id]
|
||||||
if data == nil {
|
if data == nil {
|
||||||
data = make([]*idp.UserData, 0, 1)
|
data = make([]*idp.UserData, 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
user.AppMetadata.WTAccountID = accountID.Id
|
user.AppMetadata.WTAccountID = accountID.Id
|
||||||
|
|
||||||
userData[accountID.Id] = append(data, user)
|
userData[accountID.Id] = append(data, user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user