开发者

sfDoctrineGuard not respecting backend controller

开发者 https://www.devze.com 2023-03-09 01:55 出处:网络
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) c

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消