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 <[email protected]> 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" <[email protected]> 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 <[email protected]> wrote:
>
> > > I know the name is wrong. Can you help debug this?
>
> > > Massimo
>
> > > On Jun 12, 5:52 am, "mr.freeze" <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---