Within a custom authentication flow SPI, you can reset the entire flow simply returning
context.resetFlow();
in e.g. an action method.
However, can you attach a message or attribute when resetting the flow, basically passing it into the Freemarker UI upon reset?
context.forkWithErrorMessage(new FormMessage('label', 'Your error message here'));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With