Skip to content

Commit

Permalink
Change OTP code length min value to match with other OTP based connec…
Browse files Browse the repository at this point in the history
…tors
  • Loading branch information
RushanNanayakkara committed Jul 31, 2024
1 parent 8d77acb commit f8fc2f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3685,7 +3685,7 @@ export const extensions: Extensions = {
validations: {
empty: "Password recovery OTP length cannot be empty.",
maxLengthReached:
"Password recovery OTP length should be between 6 and 10 characters."
"Password recovery OTP length should be between 4 and 10 characters."
}
},
enableEmailBasedRecovery: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class GovernanceConnectorConstants {
SMS_OTP_CODE_LENGTH_MAX_LENGTH: 2,
SMS_OTP_CODE_LENGTH_MAX_VALUE: 10,
SMS_OTP_CODE_LENGTH_MIN_LENGTH: 1,
SMS_OTP_CODE_LENGTH_MIN_VALUE: 6,
SMS_OTP_CODE_LENGTH_MIN_VALUE: 4,
SMS_OTP_EXPIRY_TIME_MAX_LENGTH: 4,
SMS_OTP_EXPIRY_TIME_MAX_VALUE: 1440
};
Expand Down

0 comments on commit f8fc2f3

Please sign in to comment.