are you sure, that your predecessor didn't make any changes to the plugin 
itself? Shouldn't have, but you never know. 

AFAIK the referrer is used, if you got logged out due to a timeout.

Regards,
Christopher.


> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:symfony-
> [email protected]] Im Auftrag von Peter Peltonen
> Gesendet: Donnerstag, 19. August 2010 09:39
> An: [email protected]
> Betreff: Re: [symfony-users] sfGuardAuth: where is the page after login
> defined?
> 
> Thanks for your reply. I've read the documentation which states:
> 
> If you want to redirect the user to his profile after a success login
> or define a logout site. You can change the redirect values in
> app.yml:
> 
>     all:
>       sf_guard_plugin:
>         success_signin_url:      @my_route?param=value # the plugin
> use the referer as default
>         success_signout_url:     module/action         # the plugin
> use the referer as default
> 
> I've now changed my app.yml to this and done symfony cc:
> 
> # default values
> all:
>   sf_guard_plugin:
>     signin_form:      sfGuardFormSigninCustom
>     success_signin_url:      @homepage # the plugin use the referer as
> default
> 
> My homepage is defined in routing.yml as:
> 
> homepage:
>   url:   /
>   param: { module: main, action: index }
> 
> So I should end up in /main/index after login, right? But after login
> I still end up in /profile. After login I can access /main/index
> normally, so there should be nothing preventing me there getting
> there.
> 
> And I don't understand how I am getting to the /profile page in the
> first place if "referer" is the default place where users are
> redirected to (my login form is at / not at /profile where I am
> redirected after login).
> 
> What am I doing wrong?
> 
> Regards,
> Peter
> 
> On Thu, Aug 19, 2010 at 9:30 AM, Christopher Schnell
> <[email protected]> wrote:
> > Hi,
> >
> > ist in the docs of sfGuardPlugin, check the paragraph "Customize
> sfGuardAuth redirect handling"
> >
> > Regards,
> > Christopher
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: [email protected] [mailto:symfony-
> >> [email protected]] Im Auftrag von Peter Peltonen
> >> Gesendet: Donnerstag, 19. August 2010 00:01
> >> An: [email protected]
> >> Betreff: [symfony-users] sfGuardAuth: where is the page after login
> >> defined?
> >>
> >> A simple question:
> >>
> >> I'm new to sfGuardAuth. I have "inherited"  a symfony 1.2
> application
> >> which redirects the user to /profile module after login.
> >>
> >> I would need to change this to the /mypage module but I cannot find
> >> where this page where user is redirected after signing in is
> defined?
> >>
> >> Best,
> >> Peter
> >>
> >> --
> >> If you want to report a vulnerability issue on symfony, please send
> it
> >> to security at symfony-project.com
> >>
> >> You received this message because you are subscribed to the Google
> >> Groups "symfony users" group.
> >> To post to this group, send email to [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected]
> >> For more options, visit this group at
> >> http://groups.google.com/group/symfony-users?hl=en
> >
> > --
> > If you want to report a vulnerability issue on symfony, please send
> it to security at symfony-project.com
> >
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
> 
> --
> If you want to report a vulnerability issue on symfony, please send it
> to security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to