Skip to content

Commit

Permalink
fix: update OtpLength type to uint
Browse files Browse the repository at this point in the history
Co-authored-by: Han Qiao <[email protected]>
  • Loading branch information
J0 and sweatybridge authored Aug 7, 2024
1 parent 8904ed3 commit d23bce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ type (

phoneFactorTypeConfiguration struct {
factorTypeConfiguration
OtpLength int `toml:"otp_length"`
OtpLength uint `toml:"otp_length"`
Template string `toml:"template"`
MaxFrequency time.Duration `toml:"max_frequency"`
}
Expand Down

0 comments on commit d23bce7

Please sign in to comment.