As most symfonians, I have a backend (be) controller where admins can 开发者_高级运维login to administer apps for a site. The problem I am having is the login form is not respecting the backend (be) controller. For example:
<form action="/guard/login" method="post">
Should be:
<form action="be.php/guard/login" method="post">
So everytime I submit the form it keeps throwing an error. The weird thing is, it works for be_dev.php.
Thanks in advance.
What's the no_script_name
setting in your backend? The plugin uses the standard url_for
helper to generate the link, so if all other links work on your backend, this should do as well.
You can find the no_script_name
config parameter in your application's settings.yml file.
精彩评论