mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-06 05:29:07 +02:00
Get groups from the JWT tokens if it feature enabled for account
This commit is contained in:
@@ -205,6 +205,10 @@ func restore(file string) (*FileStore, error) {
|
||||
group.Peers[i] = p.ID
|
||||
}
|
||||
}
|
||||
// TODO: delete this block after migration
|
||||
if group.Issued == "" {
|
||||
group.Issued = GroupIssuedAPI
|
||||
}
|
||||
}
|
||||
|
||||
// detect routes that have Peer.Key as a reference and replace it with ID.
|
||||
|
||||
Reference in New Issue
Block a user