Skip to content
Snippets Groups Projects
Commit d7862d54 authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Merge remote-tracking branch 'origin/develop' into release/1.4.4

parents 7aa592b5 d7d0413b
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ public class CaptchaValidator { ...@@ -26,7 +26,7 @@ public class CaptchaValidator {
} }
public boolean verifyToken(String token) { public boolean verifyToken(String token) {
if (secret.equalsIgnoreCase("not_provided")) { if (secret.equalsIgnoreCase("not_provided") || secret.isEmpty()) {
log.info("Skipped captcha validation due to not provided token"); log.info("Skipped captcha validation due to not provided token");
return true; // validate if secret is not provided return true; // validate if secret is not provided
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment