You need the latest version of t2 http://mdp.cti.depaul.edu/example/static/web2py.app.plugin_t2.tar
On Nov 27, 10:53 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > I'm trying to use the reset password and get: > > Error traceback > Traceback (most recent call last): > File "/Users/Shared/web2py-read-only/gluon/restricted.py", line 62, > in restricted > exec ccode in environment > File > "/Users/Shared/web2py-read-only/applications/cnrsa/controllers/default.py", > line 1002, in <module> > File "/Users/Shared/web2py-read-only/gluon/globals.py", line 55, in <lambda> > self._caller=lambda f: f() > File > "/Users/Shared/web2py-read-only/applications/cnrsa/controllers/default.py", > line 12, in reset_password > def reset_password(): return t2.reset_password() > AttributeError: T2 instance has no attribute 'reset_password' > > In my controller I've tried these: > > On this one I immediately get the error: > def reset_password(): return dict(form=t2.reset_password()) > > With this one I get a field to fill in, but when I submit it I get the error: > def reset_password(): return t2.reset_password() > > (the source code indicates using the above) > > -wj > > On Mon, Nov 24, 2008 at 2:48 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > > I reposted a new version of T2. I fixed a problem with email > > verification and added a t2.reset_password > > > to use email verification you do > > > t2.email_server="hostname:port" > > t2.email_auth="username:password" > > def register(): return dict(form=t2.register(verification=True) > > def password(): return dict(form=t2.reset_password()) > > > Please give it a try. > > > I discovered that in smtplib server.helo() and server.ehlo() are not > > equivalent as the docs say! The firmer does not always work, the > > latter does. > > > Massimo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

