Jump to content

Forgoten Password Email Error


Recommended Posts

hi

 

we are getting this error on prestashop 1.6 when a customer tries to reset there password

https://{url}/

the url should be

https://mydomain.com/password-recovery?token=2b8fa2d6ad94774ab2c29b538479eb65&id_customer=23

It displays the link correctly in text but when you click the hyper link you get

https://{url}/

and error server not found.

 

please how can i fix this issue

Edited by d22009 (see edit history)
Link to comment
Share on other sites

looks like the controller dont send the correct url. check if in controllers / front/passwordcontroller.php  check if you have this line

 

'{url}' => $this->context->link->getPageLink('password', true, null, 'token='.$customer->secure_key.'&id_customer='.(int)$customer->id)

Link to comment
Share on other sites

  • 1 month later...

looks like the controller dont send the correct url. check if in controllers / front/passwordcontroller.php  check if you have this line

 

'{url}' => $this->context->link->getPageLink('password', true, null, 'token='.$customer->secure_key.'&id_customer='.(int)$customer->id)

Sir, when a customer receives a mail for resetting the password, it is sent as a text. Link isn't applied in the email. I have checked in the controller and the line is present in the code. How do i change it? Customers are unable to click on the link. Instead they have to copy and paste it in a new tab. Thanks in advance. 

 

Regards,

Keshav

Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...