mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:37:34 +00:00
feat: provide option to limit (T)OTP checks (#7693)
* feat: provide option to limit (T)OTP checks * fix requests in console * update errors pkg * cleanup * cleanup * improve naming of existing config
This commit is contained in:
@@ -10,6 +10,7 @@ func ModelLockoutPolicyToPb(policy *query.LockoutPolicy) *policy_pb.LockoutPolic
|
||||
return &policy_pb.LockoutPolicy{
|
||||
IsDefault: policy.IsDefault,
|
||||
MaxPasswordAttempts: policy.MaxPasswordAttempts,
|
||||
MaxOtpAttempts: policy.MaxOTPAttempts,
|
||||
Details: object.ToViewDetailsPb(
|
||||
policy.Sequence,
|
||||
policy.CreationDate,
|
||||
|
Reference in New Issue
Block a user