You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case specifically is that I am using 'api-only' for Adonis, and that the emails being sent might have different end points for verifying the email depending on which front-end is making the request. I'd like to add the endpoint in the post method from the client to the server, and was hoping if there was a way to add some of this data through to the Persona methods that themselves could pass along to the events fired.
For instance, if forgotPassword is firing the 'forgot::password' event there could possibly be a parameter for eventsPayload or something? I'm aware that I could just use the Event.on() in the Controller, but was hoping to keep these things in the normal Adonis way.
If this cannot be done, or shouldn't be done out of principal, it's all cool.
The text was updated successfully, but these errors were encountered:
My use case specifically is that I am using 'api-only' for Adonis, and that the emails being sent might have different end points for verifying the email depending on which front-end is making the request. I'd like to add the endpoint in the post method from the client to the server, and was hoping if there was a way to add some of this data through to the Persona methods that themselves could pass along to the events fired.
For instance, if forgotPassword is firing the 'forgot::password' event there could possibly be a parameter for eventsPayload or something? I'm aware that I could just use the Event.on() in the Controller, but was hoping to keep these things in the normal Adonis way.
If this cannot be done, or shouldn't be done out of principal, it's all cool.
The text was updated successfully, but these errors were encountered: