mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-22 08:03:30 +01:00
[management] Fix session inactivity response (#2770)
This commit is contained in:
parent
7bda385e1b
commit
563dca705c
@ -139,6 +139,8 @@ func toAccountResponse(accountID string, settings *server.Settings) *api.Account
|
|||||||
apiSettings := api.AccountSettings{
|
apiSettings := api.AccountSettings{
|
||||||
PeerLoginExpiration: int(settings.PeerLoginExpiration.Seconds()),
|
PeerLoginExpiration: int(settings.PeerLoginExpiration.Seconds()),
|
||||||
PeerLoginExpirationEnabled: settings.PeerLoginExpirationEnabled,
|
PeerLoginExpirationEnabled: settings.PeerLoginExpirationEnabled,
|
||||||
|
PeerInactivityExpiration: int(settings.PeerInactivityExpiration.Seconds()),
|
||||||
|
PeerInactivityExpirationEnabled: settings.PeerInactivityExpirationEnabled,
|
||||||
GroupsPropagationEnabled: &settings.GroupsPropagationEnabled,
|
GroupsPropagationEnabled: &settings.GroupsPropagationEnabled,
|
||||||
JwtGroupsEnabled: &settings.JWTGroupsEnabled,
|
JwtGroupsEnabled: &settings.JWTGroupsEnabled,
|
||||||
JwtGroupsClaimName: &settings.JWTGroupsClaimName,
|
JwtGroupsClaimName: &settings.JWTGroupsClaimName,
|
||||||
|
Loading…
Reference in New Issue
Block a user