Thanks for a great plugin. It's been a big help on a project I'm working on.
The only thing I can't seem to make happen is to get the site redirect the user to the page they were on (the referrer) after they register and login. If I try to pass the "redirect_to" when opening the reg form, it makes the reg form get an "empty_both" error when it is submitted. Thus, I've had to take out the "redirect_to" from the reg form link. This makes it so the user gets sent to their profile page upon login which is not ideal.
If all else fails, I can use Peter's redirect and send them to the home page but this isn't great either. Let me know if you have any solutions for sending them back to the referrer after reg/login. Thanks for your time...