Developer forum

Forum » CMS - Standard features » Password Recovery, two websites, two shops

Password Recovery, two websites, two shops

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

We have a solution with two websites configured to use two different shops. 

Creating accounts from fronend works fine with "Send ShopId" enabled. 

But I have trouble getting the password recovery to work. 

In the template for getting a recovery link I have the following hidden field:

<input type="hidden" value="SHOP20" name="AccessUserShopId">

I get a link with a recovey token but when I update the password, the wrong account gets a new password. I have tried to have the above hidden field also in the form where you select a new password but it does not make any difference. I cannot find anything in the documentation either. 

What am I missing?

Regards / Aki


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
This post has been marked as an answer

Hi Aki,

YOu should look into this list of properties on the Login pagaraph:

Specifically, this field:

Adrian

 

Votes for this answer: 1
 
Aki Ruuskanen
Aki Ruuskanen
Reply

Sounds right. Thansk Adrian. 

Regards / Aki

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Thats was of course the problem. The ShopId needs to be checked. Makes sense. :) Thanks again for pointing it out Adrian. 

Regards / Aki

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

You are welcome!

Adrian

 

You must be logged in to post in the forum