[web2py] Re: Customizing Retrieve password process

2010-04-20 Thread mdipierro
Look at the first code example in this page: http://docs.python.org/library/email.header.html Massimo On Apr 20, 3:00 am, Rohan wrote: > Hi mdipierro, > > If i override the text of email by setting > auth.messages.reset_password and replace "http://...reset_password/ > 1271747658-828516dd-150c-

[web2py] Re: Customizing Retrieve password process

2010-04-20 Thread Rohan
Hi mdipierro, If i override the text of email by setting auth.messages.reset_password and replace "http://...reset_password/ 1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb" with "http:/// /default/user/reset_password/ 1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb", it works. Is this correct wa

[web2py] Re: Customizing Retrieve password process

2010-04-20 Thread Rohan
Hi mdipierro, After setting auth.settings.reset_password_requires_verification to True, I got the mail with the below content "Click on the link http://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb to reset your password" however I am not able to load the link http://...rese

[web2py] Re: Customizing Retrieve password process

2010-04-20 Thread Rohan
Followup question on this, After email is sent, user is navigated to the login page, but I want user to head back to homepage. Can you please share the settings for this? Thanks Rohan On Apr 20, 12:19 pm, Rohan wrote: > Hi mdipierro, > > After setting auth.settings.reset_password_requires_verif

[web2py] Re: Customizing Retrieve password process

2010-04-20 Thread Rohan
Hi mdipierro, After setting auth.settings.reset_password_requires_verification to True, I got the mail with the below content "Click on the link http://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb to reset your password" however I am not able to load the link http://...rese

[web2py] Re: Customizing Retrieve password process

2010-04-19 Thread mdipierro
What link are you using? You should be using http:///user/request_reset_password and you should auth.settings.actions_disabled=['retrieve_password'] On Apr 19, 9:22 am, "Abdul R. Gani" wrote: > Same weakness exists. > > > > On Mon, Apr 19, 2010 at 12:10 PM, Rohan wrote: > > Hi All, > > >

[web2py] Re: Customizing Retrieve password process

2010-04-19 Thread mdipierro
Yes. auth.settings.reset_password_requires_verification = True On Apr 19, 5:10 am, Rohan wrote: > Hi All, > > Currently my retrieve password application sends new password directly > to user. Anyone can reset password of any other user as long as they > know the email id. So I want to customize