开发者

symfony: sfDoctrineGuardPlugin: doesn't redirect to the referer page

开发者 https://www.devze.com 2023-01-09 06:52 出处:网络
I have just crate a new sf 1.3 project, installed sfDGP and activated the security on my web app so when i write an URL the authentication form appears.开发者_开发技巧

I have just crate a new sf 1.3 project, installed sfDGP and activated the security on my web app so when i write an URL the authentication form appears.开发者_开发技巧

The problem: after logging the web app is not redirected to the referrer URL but to the root URL.

These are my steps:

  • I call the URL "http://rs3.localhost/frontend_dev.php/usuario"

  • The auth form appears.

  • If i write var_dump($user->getReferer($request->getReferer())); inside the signin action this is showed:

"http://rs3.localhost/frontend_dev.php/"

Any idea?

Regards

Javi

0

精彩评论

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