Skip to content

Commit 85c3792

Browse files
committed
Also log succesfull captcha validatrions
1 parent 3d263f3 commit 85c3792

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

myconext-server/src/main/java/myconext/api/UserController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ public ResponseEntity generateCodeRequestNewUser(@Valid @RequestBody ClientAuthe
290290
boolean success = this.captchaVerifier.verify(clientAuthenticationRequest.getCaptchaResponse());
291291
if (!success) {
292292
throw new CaptchInvalidException("Invalid captcha for user: " + email);
293+
} else {
294+
LOG.info(String.format("Validated captcha for user: %s",email));
293295
}
294296
verifyEmails(email, true);
295297

0 commit comments

Comments
 (0)