This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » backend login redirects to the frontend homepage
backend login redirects to the frontend homepage [message #103451] Tue, 03 August 2010 07:42 Go to next message
cgithinji  is currently offline cgithinji
Messages: 4
Registered: June 2010
Junior Member
Hi all,

i am experiencing a rather queer problem with sfDoctrineGuard. am building my project with symfony 1.4 and have both the backend and fronend secured with sfDoctrineGuard. the trouble is that when i login from the backend, it redirects me to the frontend. why is this so?this are my settings at the frontend settings.yml


enabled_modules: [ default,sfGuardAuth ]

login_module: sfGuardAuth
login_action: signin

secure_module: sfGuardAuth
secure_action: secure


please help.
Re: backend login redirects to the frontend homepage [message #103453 is a reply to message #103451 ] Tue, 03 August 2010 08:40 Go to previous message
Jurchik  is currently offline Jurchik
Messages: 2
Registered: April 2010
Junior Member
Plugin redirects you after authoriztion to the page saved in session, which you can see in admin-panel on the right-top of page.
If you use sfGuardPlugin in both backend and frontend, change session name in backend/config/factories.yml and frontend/config/factories.yml for example
  storage:
    class: sfSessionStorage
    param:
      session_name:            symfonyBackend


  storage:
    class: sfSessionStorage
    param:
      session_name:            symfonyFrontend
Previous Topic:Propel 1.5 is awesome - Try it asap.
Next Topic:InvalidArgumentException error (jobeet tutorial day 5)
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software