Merge branch 'main' into refactor/nmap

This commit is contained in:
crn4
2025-09-12 14:09:00 +02:00
72 changed files with 1463 additions and 894 deletions

View File

@@ -946,6 +946,11 @@ func (am *DefaultAccountManager) expireAndUpdatePeers(ctx context.Context, accou
// nolint:staticcheck
ctx = context.WithValue(ctx, nbContext.PeerIDKey, peer.Key)
if peer.UserID == "" {
// we do not want to expire peers that are added via setup key
continue
}
if peer.Status.LoginExpired {
continue
}