mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 17:26:40 +00:00
Add tests for peer update behavior on user changes
This commit is contained in:
@@ -518,7 +518,7 @@ func (am *DefaultAccountManager) deleteRegularUser(ctx context.Context, account
|
||||
meta := map[string]any{"name": tuName, "email": tuEmail, "created_at": tuCreatedAt}
|
||||
am.StoreEvent(ctx, initiatorUserID, targetUserID, account.Id, activity.UserDeleted, meta)
|
||||
|
||||
if userHasPeers && account.Settings.PeerLoginExpirationEnabled {
|
||||
if userHasPeers && account.Settings.GroupsPropagationEnabled {
|
||||
am.updateAccountPeers(ctx, account)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user