It appears there is a bug in reset_password. It will work if you do:

http://domain/"app"/default/reset_password/verify/"key";

instead of

http://domain/"app"/default/reset_password/"key";

On Tuesday, 2 September 2014 11:16:26 UTC-5, Leonardo Silvano wrote:
>
> So, i'm not using the default "def user(): return dict(form=auth())" for 
> user actions, instead i am creating just what i need, i sucessfully created 
> login/logout/profile/change_password and request_reset_password, but i'm 
> having some problems with reset_password, the key is correctly sent to my 
> email but when i access it redirects to "app"/default/index.
>
> the link to reset_password is like http://domain/
> "app"/default/reset_password/"key"
>
> Here the function on default controller:
>
> def reset_password():
>     form = auth.reset_password()
>     return {'title':'Resetar Senha','form':form}
>
> I tested this key on the default "def user(): return dict(form=auth())" 
> and it worked, am I missing something? I did exctaly the same on the 
> other ones and it worked fine.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to