Hi Friends,

I need to make the "reset password" option work for my application. For
this I made the following changes to my model db.py :

auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = True
auth.settings.reset_password_requires_verification = True


mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'myem...@gmail.com'
mail.settings.tls = True
mail.settings.login ='my_usern...@gmail.com:my_password'

I also had to set the "allow less secure apps" setting to ON in my gmail
settings.

After this when I am clicking on the "Lost password" button in the login
page, it is asking for a email id to send the reset link. Finally it is
mailing a link like the following reset link to the given user email :

Click on the link
http://www.pixmate.online/welcome/default/user/reset_password?key=1544452112-629e9763-ahc0-495b-b921-172dc14a6616
<http://www.pixmate.online/welcome/default/user/reset_password?key=1544452112-629e9763-abc0-495b-b921-152dc14a6616>
to
reset your password.

But when I am clicking this link it is taking me to the default welcome
page of my application instead of the reset password page.
What should I check to get the issue solved ?

Thanks in advance for your help,
Arindam Dasgupta

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to