Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-25 Thread Carlos
I see the change is already in trunk, I've tested it and it now works ok ... thanks!

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread pbreit
Yeah, you might be right. It looks like it was dropped in this changeset: http://code.google.com/p/web2py/source/detail?r=f2c246ff0367b235d3e057c42a9cdf743c5ee3ba&path=/gluon/tools.py Not sure if by accident or on purpose. Massimo may need to weigh in.

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread Carlos
Yes, I'm getting errors. When I go to the "lost password?" link, user/request_reset_password is called, which on submit sends an email message with the following link: ... user/reset_password/* And when this link is clicked, I get a 404 (Not Found) error. This can be fixed by adding 'reset_pas

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread pbreit
Possibly for backwards compatibility? Are you getting some sort of error or experiencing a problem?

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread Carlos
Wait, immediately after reset_password_deprecated, there's a reset_password: http://code.google.com/p/web2py/source/browse/gluon/tools.py#2010 Also, if reset_password is effectively deprecated, then what should I use to replace the behavior in /user/request_reset_password ?. Please clarify - th

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread Carlos
ok, good to know - thanks!

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread pbreit
reset_password is deprecated: http://code.google.com/p/web2py/source/browse/gluon/tools.py#1929

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread Carlos
Hi, The missing 'reset_password' option is shown in the below code ... def __call__(self): """ usage: def authentication(): return dict(form=auth()) """ request = current.request args = request.args if not args: redirect(se

Re: [web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread contatogilson...@gmail.com
I don't understand. Show me the code. _ *Gilson Filho* *Web Developer http://gilsondev.com* 2011/5/24 Carlos > Hi, > > The 'reset_password' option is missing in tools.py, line # 1048 in > Auth.__call__. > >Carlos > >

[web2py] trunk - missing 'reset_password' in Auth.__call__ in tools.py

2011-05-24 Thread Carlos
Hi, The 'reset_password' option is missing in tools.py, line # 1048 in Auth.__call__. Carlos