Skip to content

Commit

Permalink
added default empty value for captcha.required property (mosip#1124)
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Rana <sacrana324@gmail.com>
  • Loading branch information
sacrana0 committed Jan 22, 2025
1 parent f7e969f commit f257c90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SharedComponentConfig {
@Bean
public CaptchaHelper captchaHelper(@Value("${mosip.esignet.captcha.validator-url}") String validatorUrl,
@Value("${mosip.esignet.captcha.module-name}") String moduleName,
@Value("#{'${mosip.esignet.captcha.required}'}")List<String> captchaRequired) {
@Value("#{'${mosip.esignet.captcha.required:}'}")List<String> captchaRequired) {
return new CaptchaHelper(restTemplate, validatorUrl, moduleName, captchaRequired);
}
}

0 comments on commit f257c90

Please sign in to comment.