I am using /libs/foundation/components/account/actions/accountrequest action to get users registered and crate users in cq 5.6.1
The users get created, howevere when I go to thank you page at this point the newly created user is not logged in.
I want to modify this action so that at the end of account creation the newly created user also gets logged in and gets redirected to homepage.
could anyone help me understand how to do it? (I am using CQ5 ootb login component- NO third party login or custom log in)
Thanks in advance.