I know the name is misleading but I mean "retrieve a new password".
Retriving th old password is impossible (bacuse hashed) and would be a
security weakness.

Massimo

On Jul 24, 6:18 am, Alex Fanjul <[email protected]> wrote:
> Or maybe put an optional parameter "reset=True/False" in retrieve
> function, althought your solution is better.
> alex
>
> El 23/07/2009 0:28, Jonathan Lundell escribió:
>
>
>
> > On Jul 22, 2009, at 3:04 PM, Fran wrote:
>
> >> On Jul 22, 10:59 pm, Dan<[email protected]>  wrote:
>
> >>> It looks like this function performs a password reset, not a
> >>> retrieval. Should it be renamed?
>
> >> Renaming it now would break code.
> >> The new book does mention that the name is misleading...
>
> > How about a new function named reset, and leave the retrieve name
> > around to silently maintain compatibility?
>
> --
> Alejandro Fanjul Fdez.
> [email protected]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to