Hi guys, sorry if this is a silly question but I can’t find related information.
There is a way to modularize the action’s code ?
Let’s say, chain actions (ie. run action A and, if A is successful, run action B) or split the action’s code in multiple source files ?
The question is because we are using and action to do a lot of things when a user logs in for the first time (as part of a lazy migration scheme) and the action code is getting too big and we like to split it some way.
You can create multiple actions, this should probably be the approach you take.
Chaining actions in the way you suggest doesn’t make a lot of sense with how we have them set up. If an action wasn’t successful, you would probably be denying the user access, meaning you should break from authentication.