-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open up the SendPasswordResetInstructionsAction #5589
Conversation
Backported to: #5590 |
|
I understand what you intend to do, but this is unnecessary. We don't need to open this up. All you need to do is write a configurer that executes last and auto-configures the webflow by replacing the right transition with what you need. Extending the class here in fact is a poor choice. |
I was reluctant to touch the webflow as it's always hard to maintain and understand, but if you prefer that way, no problem. |
Ah sorry let me clarify; we can certainly move fwd with this, but you will be forced to extend the class and bring down a number of dependencies into compilation just to modify one line. You could do that for sure, but it's easier to modify the flow without having a dependency on the flow itself. (You could do this in fact with Groovy). If you find this approach here easier, we could sure merge. |
(Doing this with Groovy is easier also in the sense that the change can be easily removed or skipped later, if requirements change. otherwise you will need to rebuild and recompile again) |
I think you're right: the Groovy script (for such a limited changed) will be the easiest and lightest solution. |
@mmoayyed In fact, changing the webflow (Groovy or not) does not work. I would need to replace the I reopened both PRs for merge. Thanks |
Thank you |
This PR allows to customize the event returned in case of an invalid contact.