In AuthenticationViaFormAction , public final Event submit
i purposely triggered
logger.warn("Invalid login ticket {}", providedLoginTicket);
messageContext.addMessage(new MessageBuilder().code("error.invalid.loginticket").build());
return newEvent(ERROR);
however, in login page it does not show "You cannot attempt to re-submit a form that has been submitted already." this exceptions...
is it bug?
new MessageBuilder().error().code("authenticationFailure.InvalidCaptcha").arg("").defaultText("authenticationFailure.InvalidCaptcha").build() , this should work and return message.