Skip to content

Commit

Permalink
Merge pull request #36 from tada-team/10272-pin-code-params
Browse files Browse the repository at this point in the history
10272 pin code params
  • Loading branch information
ergoz authored Sep 22, 2021
2 parents 6c3c4ba + 4115174 commit fc1872d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v.1.47.1
- fix: remove omitempty tag for IsPinCodeRequired and PinCodeWrongLimit fields

v.1.47.0
- added IsPinCodeRequired and PinCodeWrongLimit fields in Features struct for pin-codes support

Expand Down
4 changes: 2 additions & 2 deletions features.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ type Features struct {
Auth2fa bool `json:"auth_2fa,omitempty"`

// Mandatory setting of the pin code in the application
IsPinCodeRequired bool `json:"is_pin_code_required,omitempty"`
IsPinCodeRequired bool `json:"is_pin_code_required"`

// Max number of attempts to enter an invalid PIN code
PinCodeWrongLimit int `json:"pin_code_wrong_limit,omitempty"`
PinCodeWrongLimit int `json:"pin_code_wrong_limit"`

// External services
OAuthServices []OAuthService `json:"oauth_services,omitempty"`
Expand Down

0 comments on commit fc1872d

Please sign in to comment.