File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ type Source struct {
52
52
GroupFilter string // Group Name Filter
53
53
GroupMemberUID string // Group Attribute containing array of UserUID
54
54
UserUID string // User Attribute listed in Group
55
- SkipLocalTwoFA bool // Skip Local 2fa for users authenticated with this source
55
+ SkipLocalTwoFA bool `json:",omitempty"` // Skip Local 2fa for users authenticated with this source
56
56
57
57
// reference to the loginSource
58
58
loginSource * models.LoginSource
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ type Source struct {
24
24
OpenIDConnectAutoDiscoveryURL string
25
25
CustomURLMapping * CustomURLMapping
26
26
IconURL string
27
- SkipLocalTwoFA bool
27
+ SkipLocalTwoFA bool `json:",omitempty"`
28
28
29
29
// reference to the loginSource
30
30
loginSource * models.LoginSource
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
type Source struct {
21
21
ServiceName string // pam service (e.g. system-auth)
22
22
EmailDomain string
23
- SkipLocalTwoFA bool // Skip Local 2fa for users authenticated with this source
23
+ SkipLocalTwoFA bool `json:",omitempty"` // Skip Local 2fa for users authenticated with this source
24
24
25
25
// reference to the loginSource
26
26
loginSource * models.LoginSource
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ type Source struct {
26
26
SkipVerify bool
27
27
HeloHostname string
28
28
DisableHelo bool
29
- SkipLocalTwoFA bool
29
+ SkipLocalTwoFA bool `json:",omitempty"`
30
30
31
31
// reference to the loginSource
32
32
loginSource * models.LoginSource
You can’t perform that action at this time.
0 commit comments