We have an email that goes out when a user is registered on our system and it is customised using Registered notify template with a URL to reset their password initially. However this user registration is moderated and hence an internal admin approves a user which automatically triggers the Registered Notify email template.
The Registered Notify template uses
and unfortunately (or fortunately) we have two Plone URLs (themed version for customers and unthemed version for admins) using the same database.
Admins always tend use the unthemed versions and when they approve users using the unthemed URL, the password reset URL is pointing to the unthemed URL. Is there a way to use the above construct and always retain the themed URL in password reset when approving users through unthemed URL?