Posted on 02/10/2019 01:58:03
Hi
We are using the "include shop id in extranet log in" feature as described in this thread, and in the documentation in order to seperate users between multiple sites. We have enabled the setting, setup the default shop in the website settings as described, and placed a hidden input into the appropriate user management form (create profile, login, forgotten password) i.e.
We are having the following issues,
1. The fogotten password mechanism (using the recovery link action) is still sending out password reset links to all users with the same email address. This email field is the only field selected in the Fields for password recovery on the app. The ShopId field does not show in this list. Our work around is to maintain a seperate custom user field with the shop id populated which we can select in the Fields for recovery and post as a hidden field when requesting a recovery link.
2. We would like to enforce unique email address/usernames within each site. However when selecting the Require unique email setting for the app on the registration page the uniqueness validation does not take into account the ShopId. Again we have implemented a work around by doing the email/username validation in a UserValidated Notification Subscriber, but would like feedback on anything we are missing. Note that when creating a user from the backend the uniqueness validation does take into account the ShopId.
3. We are using User and group types to seperate custom user fields between sites and would like to include the ShopId in the field definitions but it does not appear in the list.
Note we are using Dyncamic Web 9.7.1
Thanks