Developer forum

Forum » Templates » Login - Forgot password function

Login - Forgot password function

Dmitrij Jazel
Reply

Hello Guys!

I need to add a "I forgot my password" feature at mystandart DW login form.

What I want this feature to do is to do something that helps user to remember his password -

1) email the password to the user if such exists, or

2) send a link where to set new password, or

3) email new generated password, whatever is easyer.

I feel like option#1 is what is actually is used in most DW solutions, or in one way or another is mostly used where password is not hashed.

 

But anyone has any suggestions, tips, examples about this one?

 

Kind regards,

Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply

Maybe search it?

 

https://www.google.com/#q=forgot+password+best+practices

 

BR Nicolai

 
Dmitrij Jazel
Reply

Hej Nicolai,

Thanks for usefull link. But the self approach how to solve it technically - is not the issue.

I just wanted to make a small research if this function was ever covered somewhere or somehow in DW before.

Was hoping to get a usefull DW documentation tips. Or links, maybe someone discussed it in a blog post some time ago...

http://developer.dynamicweb-cms.com/forum/templates/recover-password.aspx

 

And from you answer I can clearly see that this feature was obviously not covered in DW, and I am on my own. That is all I wanted to know...

 

Thanks again for info!

Dmitrij

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

This maybe?:

http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Module-tags/Extranet/Intranet/Login.aspx

 

There are also a number of threads on the subject:

http://developer.dynamicweb-cms.com/search.aspx?q=forgot+password

 

BR Nicolai

Votes for this answer: 1
 
Dmitrij Jazel
Reply

Yes I saw those, but most of them are rather old. And we are having more cool and powerfull functionality almost every day now...

But this Templates link looks like something good. I might find a good a use for it :-)

Thanks again for very quick response :-)

 

Kind Regards,

Dmitrij

 

 
Nicolai Høeg Pedersen
 
Dmitrij Jazel
Reply

Hello again Nicolai,

Than thanks again for yet another good resource share! :-) really liked Imars article!

For big and advanced solutions we will use our custom login forms, that would includ secure password change protocol.

But at the same time I played around with this template "Extranet/Login_uk_password.html". And all is pretty much straight forward, only thing is I can't quite find the Form mail template for this form? It's not in "Formmailer" folder.

 

Regards,

Dmitrij

 

 

 
Nicolai Høeg Pedersen
Reply

Hi Dmitrij

 

You can create a hidden field in the forgotpassword form with the name ForgotPasswordMailTemplate.

 

Give it a value of a template file ("ForgotPasswordMail.html") and place the template in /Templates/Extranet/ folder.

 

BR Nicolai

 
Dmitrij Jazel
Reply
Nice,  thanks allot for help Nicolai, appreciated! :-)
Good weekend!

 

You must be logged in to post in the forum