The session.flash is working now.  Did you intend for it to redirect
to itself (/authtest/default/user/retrieve_password) after success?
It seems like it should redirect to the login page by default after
resetting the password.

On Jun 13, 9:52 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> You are right. This is a more systematic issue. I fixed it in many
> places and uploading in trunk.
> Could you please check it?
>
> Massimo
>
> On Jun 13, 9:39 am, "mr.freeze" <nfre...@gmail.com> wrote:
>
>
>
> > 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 -- 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