Open Goosse opened 8 years ago
Although that was the original intent, a more appropriate redirect would be to $_SERVER['HTTP_REFERER']
It's a terrible shock when a user is browsing through a website, then decide to register, then completely lose their place because they get redirected back to the home page.
In core/protected/controller/MyaccountController.php, on lines 495 and 561 the url is "/site".
It should, instead be "/site/index"