Hi,
Four days ago, the reset password was working fine.
Now, it gives 'invalid reset password' after clicking the link of reset
password mail.
I am on pythonanywhere, mysql , 2-11-2.
The only change ( I did during the last two days) related to auth was the
setting on the language of the recap
*Using the scaffolding app (2.9.12), here is the db.py of TEST app:*
# For the LOCAL / Development Site:
db = DAL('mysql://root:sqlpwd@localhost/TestDB', fake_migrate_all=True)
from gluon.tools import Auth
auth = Auth(db)
auth.define_tables(username=False,signature=False)
auth.settings.create_use
I have this function in the default controller
def retrieve_password():
return dict(form=auth.retrieve_password())
and I have this view default/retrieve_password.html
{{response.title=T('Retrieve Password')}}
{{extend 'layout.html'}}
{{app=request.application}}
{{=fo
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 target email account. Any ideas what's going on?
4 matches
Mail list logo