Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Reset Password Link View modes: 
User avatar
Member
Member
shelley.ford-celero - 9/17/2012 8:13:14 PM
   
Reset Password Link
Hi, we are using the forgotten password functionality. When the user enters in their username or email and receive the link in their email, they are provided a link which takes them to http://siteurl/CMSModules/Membership/CMSPages/ResetPassword.aspx page. When the user changes their password a message is displayed that states "Password was reset. You can login on following page." The word "following" is a link to the logon page in the site. Can you tell where the information for the URL used in the link is pulled from?

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 9/18/2012 12:36:38 PM
   
RE:Reset Password Link
It comes from the RedirectUrl property of the ResetPassword web part. You should be able to edit that web part to use whichever URL you like.

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 9/18/2012 12:41:11 PM
   
RE:Reset Password Link
If you want, you can create a page and add the ResetPassword web part to it and, in your login web part, set the Reset Password Page Url to the Url to that page. You can then easily change the RedirectUrl of that ResetPasword web part for the site you are working with.

User avatar
Member
Member
shelley.ford-celero - 9/18/2012 1:58:08 PM
   
RE:Reset Password Link
Thanks for the quick response. It doesn't appear our site is using the resetpassword web part. As I had mentioned the link in the email sent to me takes me to http://siteurl/CMSPages/ResetPassword.aspx?hash=66d7d0834df8f5b361346e56c1b67e02863d3cdce19e140560d44c5c0dd526df&datetime=18092012130839. ResetPassword.aspx is not a page we created. It must be a sysem page.

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 9/18/2012 2:29:39 PM
   
RE:Reset Password Link
To avoid making changes that affect all sites in your Kentico installation, create a page in your site's tree and add the ResetPassword web part. Then you can configure things the way you want them.

User avatar
Member
Member
shelley.ford-celero - 9/18/2012 2:42:33 PM
   
RE:Reset Password Link
We have a separate installation as recommended by Kentico but thanks!

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 9/18/2012 3:16:29 PM
   
RE:Reset Password Link
You can still create a separate page with your reset password web part on it. That way, it will guarantee that your specific settings won't be overwritten by hotfixes or upgrades. Kentico also recommends that you try not to change the built-in code unless absolutely necessary. Either way, do you know what you need to do to get your desire results now? I hope that I was able to help you.