I'm using a custom lightbox to have customers log in and out of our site. If a customer is logged in and on one of the member account pages and tries to log out it shoots them back to the login lightbox which then breaks and they cant close our of the light box. It's refreshing the account page that they are on with no way around.
My ideal outcome would be to have the logout button redirect to the homepage, not the lightbox. How can I achieve this?