I have added the log in form to a custom page that I want customers to be able to log in from. It currently looks like this in the layout file
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
and is called from the phtml like this
<?php echo $this->getChildHtml('customer_form_login') ?>
After a user submits this I'd prefer if it didn't redirect anywhere. I know I could stop this happening from it's controller but I don't want to change how it behaves all over the website. Is there a way I can stop it redirecting from the layout file where I reference it in my custom block. This would allow me to achieve my goal of no redirect in the custom page but standard behaviour throughout the rest of the site.