Forcing Login Success Page, Symfony 1.2 + sfGuard

Programming 28 September 2009 | Comments

Working on my latest project, we needed to force a specific page to be sent to after login. After quite a bit of searching, I went to the most logical location for this information: The README. Duh. sfGuardPlugin v. 3.1.3 README Unfortunately, Symfony’s documentation is notoriously sketchy, however this is verifiably functional.

Add the following to your app.yml:

all:
  sf_guard_plugin:
    success_signin_url:      @my_route?param=value
    success_signout_url:     module/action

blog comments powered by Disqus