Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Forgot Password fails #2574


User avatar
0
bilalhaidar created

Hi,

I clicked on Forgot Password to retrieve the password for one of the users. I enter the tenant name and email and I receive the email.

Then, when I click on the link inside the email, it opens as follows:

http://localhost:6240/Default./Account/ResetPassword?userId=sLwljR%2FBdR7W64QgwVFk%2Bw%3D%3D&tenantId=mFlm%2BKHDrbFA%2BQWcyocM9g%3D%3D&resetCode=9748642471e34c738bea375aefa66c86

And the page shows something like:

What's wrong?


3 Answer(s)
  • User Avatar
    0
    bilalhaidar created

    Notice how the link is being generated.

    <a class="postlink" href="http://localhost:6240/">http://localhost:6240/</a>Default./Account

    Where is that . coming from?

    Thanks

  • User Avatar
    0
    bilalhaidar created

    Problem solved!

    In the Web.config I was setting this:

    <add key="WebSiteRootAddress" value="http://localhost:6240/{TENANCY_NAME}" />
    

    Seems this doesn't work. On production, I will just put the placeholder as a subdomain.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)