[web2py] Re: invalid reset password

2015-07-02 Thread webpypy
As a temporary solution, The admin (manager) sets the password to specific one, then the user (who forgot the password) uses it to log in and change it. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.g

[web2py] Re: invalid reset password

2015-07-02 Thread webpypy
Hi Annet, you are right. what i did 4 days ago, was changing the password, not 'reset password'. Regards, Ashraf On Thursday, July 2, 2015 at 7:31:37 PM UTC+3, Annet wrote: > > Hi Ashraf, > > This issue has also been reported on June 10th and on Mai 24th > as well, as far as I know it has no

[web2py] Re: invalid reset password

2015-07-02 Thread Annet
Hi Ashraf, This issue has also been reported on June 10th and on Mai 24th as well, as far as I know it has not yet been solved. Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.c

[web2py] Re: Invalid Reset Password

2010-08-25 Thread Francisco Costa
Just realized I was missing this field in the database table: Field('reset_password_key', length=128, default= '', writable=False, readable=False), On Aug 25, 3:10 pm, Francisco Costa wrote: > auth_table = db.define_table( >     auth.settings.table_user_name, >     Field('first_name', length=1

[web2py] Re: Invalid Reset Password

2010-08-25 Thread Francisco Costa
auth_table = db.define_table( auth.settings.table_user_name, Field('first_name', length=128, default=''), Field('last_name', length=128, default=''), Field('username', length=128, default=''), Field('email', length=128, default='', unique=True), Field('password', 'password'

[web2py] Re: Invalid Reset Password

2010-08-25 Thread mdipierro
If you have auth.define_tables(migrate=False), try change it to true If you use a custom auth_user table, please post it. On Aug 25, 7:10 am, Francisco Costa wrote: > I have this function in the default controller > >     def retrieve_password(): >         return dict(form=auth.retrieve_password(

[web2py] Re: Invalid reset password

2010-06-25 Thread mdipierro
Trying to catch up with messages Can you please list steps to reproduce the problem? I am not sure I understand. On Jun 18, 5:50 pm, selecta wrote: > I got the "Invalidresetpassword" when clicking (twice?? did not > check it) the confirmation link that was send with the email, this > error m

[web2py] Re: Invalid reset password

2010-06-18 Thread selecta
I got the "Invalid reset password" when clicking (twice?? did not check it) the confirmation link that was send with the email, this error message is somewhat misleading On Jun 18, 6:59 pm, pecos1046 wrote: > I also get the "Invalid reset password" flash on a request reset > password. I have look

[web2py] Re: Invalid reset password

2010-06-18 Thread pecos1046
I also get the "Invalid reset password" flash on a request reset password. I have looked at the posts regarding this issue but I can't quite follow the proposed cure. Any help would be appreciated. Peter On Jun 1, 10:36 pm, weheh wrote: > I'm trying to get the retrieve_password functionality wor

[web2py] Re: Invalid reset password

2010-06-02 Thread hamdy.a.farag
Since we're talking about retrieve password I've another issue that needs a fix in tools.py please add those self.settings.retrieve_password_onvalidation = lambda:None # or None self.settings.reset_password_onvalidation = lambda:None # or None I wanted to limit this functionality so I had to

[web2py] Re: Invalid reset password

2010-06-02 Thread weheh
sqlite On Jun 2, 9:25 am, mdipierro wrote: > what database system? > > On Jun 2, 12:13 am, weheh wrote: > > > Massimo, now we're getting somewhere. Thanks. However, I ran into this > > error: > > > Traceback (most recent call last): > >   File "C:\web2py\gluon\restricted.py", line 178, in restri

[web2py] Re: Invalid reset password

2010-06-02 Thread mdipierro
what database system? On Jun 2, 12:13 am, weheh wrote: > Massimo, now we're getting somewhere. Thanks. However, I ran into this > error: > > Traceback (most recent call last): >   File "C:\web2py\gluon\restricted.py", line 178, in restricted >     exec ccode in environment >   File "C:/web2py/app

[web2py] Re: Invalid reset password

2010-06-01 Thread weheh
Massimo, now we're getting somewhere. Thanks. However, I ran into this error: Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 178, in restricted exec ccode in environment File "C:/web2py/applications/myapp/controllers/user.py", line 144, in File "C:\web2py\

[web2py] Re: Invalid reset password

2010-06-01 Thread weheh
I see in gluon/tools.py that reset_password has been deprecated and that retrieve_password will normally point to request_reset_password. Should I consider retrieve_password to be deprecated?

[web2py] Re: Invalid reset password

2010-06-01 Thread mdipierro
use request_reset_password On Jun 1, 11:36 pm, weheh wrote: > I'm trying to get the retrieve_password functionality working. I've > done all the mail setup, but when I select the retrieve_password link, > I get a flash "Invalid reset password". I expected to get a form to > let me specify the tar