password reset link, forgot password

Monday, November 25, 2024 8:43:15 PM
  • Posted: Monday, January 6, 2020 3:52 AM
  • 5
Hi,

can any expert here throw in some light on how to create password reset page/link when user click 'forgot password'

Many thanks!
0
  • Posted: Tuesday, January 7, 2020 6:24 AM
  • 74
Would you explain issue with more details what is the case?
By default, if someone use forgot password link (at /login page) is redirect to password recovery page. You may find at view files like: PasswordRecovery.cshtml and PasswordRecoveryConfirm.cshtml
Best regards,
Tomasz
GrandNode Team
0
  • Posted: Tuesday, January 7, 2020 9:11 AM
  • 5
In the message template by default : href="{{Customer.PasswordRecoveryURL}}
However when the link is clicked in the email sent, the user is directed to http://www.passwordrecovery.com/confirm?token=22938e85-63c8-4472-ac02-8669413769a2&email=emailexample%40gmail.com
0
  • Posted: Tuesday, January 7, 2020 1:19 PM
  • 953
If you want to modify the design of the Confirmation page, you can do it in following file: https://github.com/grandnode/grandnode/blob/develop/Grand.Web/Views/Customer/PasswordRecoveryConfirm.cshtml

That's your intention? You are not able to change the URL of the confirmation link, it's generated dynamically.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, January 7, 2020 2:28 PM
  • 5
currently, the user is directed to this link without my domain name in front of it
:   passwordrecovery/confirm?token=ac79cbe4-220a-4983-a1bd-00ba6a60f8d3&email=example%40gmail.com  

The browser says:
This site can’t be reached
passwordrecovery’s server IP address could not be found.
Try:
Checking the connection
Checking the proxy, firewall, and DNS configuration
Running Windows Network Diagnostics
ERR_NAME_NOT_RESOLVED

How can I generate my domain in front of the URL automatically, so that the password recovery page appears?
example.com/passwordrecovery/confirm?token=ac79cbe4-220a-4983-a1bd-00ba6a60f8d3&email=example%40gmail.com


Thank you
0
  • Posted: Tuesday, January 7, 2020 6:38 PM
  • 953
Have you configured the store url in store settings? Admin panel -> Configuration -> Store -> Edit particular store and configure it according to your environment.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters