mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Do not remove the recaptcha form data because it is useless
Closes #41148 Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
parent
ef312b570c
commit
da5f5281cd
@ -128,7 +128,6 @@ public abstract class AbstractRegistrationRecaptcha implements FormAction, FormA
|
||||
|
||||
List<FormMessage> errors = new ArrayList<>();
|
||||
errors.add(new FormMessage(null, Messages.RECAPTCHA_FAILED));
|
||||
formData.remove(G_RECAPTCHA_RESPONSE);
|
||||
context.error(Errors.INVALID_REGISTRATION);
|
||||
context.validationError(formData, errors);
|
||||
context.excludeOtherErrors();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user