Massimo, This fixed it. I put this in db.py:
auth.settings.verify_email_next = '/app/default/user/login' Is there functional way to do the last part? URL() returns an object so no on that... thx, -wes On Thu, Nov 19, 2009 at 2:12 PM, mdipierro <[email protected]> wrote: > > I suspect the problem is that there is a double redirect somewhere > that resets the flash. > What's auth.settings.verify_email_next? Is is an aciton that requires > login? That would cause a double redirect. > > On Nov 19, 1:47 pm, Wes James <[email protected]> wrote: >> I just follow the code: >> >> user.update_record(registration_key = '') >> self.environment.session.flash = self.messages.email_verified >> . >> . >> . >> redirect(next) >> >> in tools.py >> >> After I come out of the redirect(next) there is no session.flash to be found >> with 'Email Verified'. Any I find are empty. >> >> Do I need to pass a session=session somewhere? >> >> thx, >> >> -wes >> >> On Thu, Nov 19, 2009 at 12:16 PM, mdipierro <[email protected]> wrote: >> >> > self.environment.session is a reference to session >> >> > On Nov 19, 1:08 pm, Wes James <[email protected]> wrote: >> > > how does: >> >> > > else: >> > > user.update_record(registration_key = '') >> > > self.environment.session.flash = self.messages.email_verified >> >> > > in tools.py >> >> > > filter back to response.flash or session.flash or something that can be >> > > "flash"ed? >> >> > > I followed it with wingide, but I don't see where I can use it on the >> > page >> > > with my form. All the flashes I find are ''. >> >> > > thx, >> >> > > -wes >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

