mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-23 13:41:19 +01:00
add extra settings struct
This commit is contained in:
parent
afece95ae5
commit
b7c0eba1e5
@ -158,6 +158,14 @@ type Settings struct {
|
||||
|
||||
// JWTGroupsClaimName from which we extract groups name to add it to account groups
|
||||
JWTGroupsClaimName string
|
||||
|
||||
// Extra contains additional settings that are not supported in the open-source version
|
||||
Extra *ExtraSettings
|
||||
}
|
||||
|
||||
type ExtraSettings struct {
|
||||
// PeerApprovalEnabled enables or disables the need for peers to be approved by an administrator
|
||||
PeerApprovalEnabled bool
|
||||
}
|
||||
|
||||
// Copy copies the Settings struct
|
||||
|
Loading…
Reference in New Issue
Block a user