Skip to content

Commit

Permalink
Change config name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmadhavig committed Nov 27, 2023
1 parent 0addf11 commit d7fac18
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class IdentityGovernanceServiceImpl implements IdentityGovernanceService

private static final Log log = LogFactory.getLog(IdentityGovernanceServiceImpl.class);
private static final String EMAIL_OTP_AUTHENTICATOR = "email-otp-authenticator";
public static final String EMAIL_OTP_USE_ALPHANUMERIC_CHARS = "EmailOTP.OtpRegex.UseAlphanumericChars";
public static final String EMAIL_OTP_USE_ALPHANUMERIC_CHARS = "EmailOTP.UseAlphanumericChars";
public static final String EMAIL_OTP_USE_NUMERIC_CHARS = "EmailOTP.OtpRegex.UseNumericChars";

public void updateConfiguration(String tenantDomain, Map<String, String> configurationDetails)
Expand Down Expand Up @@ -279,9 +279,6 @@ private void convertPropertyUseNumericToUseAlphaNumeric(String connectorName, Co
// Assign the value to the alphanumeric property.
connectorConfig.getProperties()[3].setValue(String.valueOf(useAlphanumericChars));
}
} else {
log.warn("Connector property migration skipped due to invalid email OTP authenticator property " +
"configuration.");
}
}
}

0 comments on commit d7fac18

Please sign in to comment.