mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Disable peer expiration of peers added with setup keys (#758)
This commit is contained in:
@@ -528,7 +528,7 @@ func (am *DefaultAccountManager) AddPeer(setupKey, userID string, peer *Peer) (*
|
||||
SSHEnabled: false,
|
||||
SSHKey: peer.SSHKey,
|
||||
LastLogin: time.Now(),
|
||||
LoginExpirationEnabled: true,
|
||||
LoginExpirationEnabled: addedByUser,
|
||||
}
|
||||
|
||||
// add peer to 'All' group
|
||||
|
||||
Reference in New Issue
Block a user