mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 05:49:07 +02:00
minor fix
This commit is contained in:
@@ -942,8 +942,8 @@ func createTestAccountWithEntities() *types.Account {
|
|||||||
|
|
||||||
if peerID == expiredPeerID {
|
if peerID == expiredPeerID {
|
||||||
p.LoginExpirationEnabled = true
|
p.LoginExpirationEnabled = true
|
||||||
pastime = time.Now().Add(-2 * time.Hour)
|
pastTime := time.Now().Add(-2 * time.Hour)
|
||||||
p.LastLogin = &pastime
|
p.LastLogin = &pastTime
|
||||||
}
|
}
|
||||||
|
|
||||||
peers[peerID] = p
|
peers[peerID] = p
|
||||||
|
|||||||
Reference in New Issue
Block a user