Yes, but the result of that line is  /authtest/default/user  which
will always redirect again to  /authtest/default/user/login. If you
changed it to:
if not next:
                next = self.url()  + "/login"
...it will work.

On Jun 13, 7:50 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> It may be a double redirection causing the problem but the line you
> refer to it is not wrong, that just make sure you redirect somewhere.
>
> On Jun 13, 12:44 am, "mr.freeze" <nfre...@gmail.com> wrote:
>
>
>
> > From what I can tell, the issue is that a double redirect happens when
> > request.vars._next or auth.settings.retrieve_password_next are not
> > specified.
> > In tools.py line 1013:
> > if not next:
> >                 next = self.url()
>
> > This forces a redirect to /authtest/default/user which then redirects
> > again to /authtest/default/user/login....at least that's my theory!
>
> > On Jun 12, 8:27 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > I know the name is wrong. Can you help debug this?
>
> > > Massimo
>
> > > On Jun 12, 5:52 am, "mr.freeze" <nfre...@gmail.com> wrote:
>
> > > > For some reason the session.flash doesn't work on an auth password
> > > > recovery (which should really be called a password reset I think).  I
> > > > tried it with setting auth.messages.email_sent and without.  I am
> > > > running from the latest source.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to