Hi all
I have the following hook in my config file
...
'user.changePassword:after' => function ($newUser, $oldUser) {
go('/');
},
...
The redirect fails with the message " The JSON response of the API could not be parsed:"
The error output shows the page I am redirecting to.
Is it not possible to have redirects in :after hooks?
Thanks for clarifying!
Memi