Base solution for your next web application
Open Closed

Login as this user uses localhost instead of host address... #1616


User avatar
0
theedge created

Hi,

  • Zero 1.10.1.0
  • Deployed an empty template to my staging server
  • Added a dummy user and then went to click on "Login as this user" in the user grid. However I am redirected to:

http://localhost:6240/Account/ImpersonateSignIn?tokenId=f98d89f2-0043-4581-8626-32056bbfc3fe

note localhost instead of the domain name of the deployment viz:

http://www.mydomain.com/Account/ImpersonateSignIn?tokenId=f98d89f2-0043-4581-8626-32056bbfc3fe

I cannot upgrade to the latest version at the moment. And I cannot see where this is happening in code. Any pointers?


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Probably you should set website root address on host settings page. Login as host and then go to settings page. You can find it under General tab.

  • User Avatar
    0
    theedge created

    <cite>ismcagdas: </cite> Hi,

    Probably you should set website root address on host settings page. Login as host and then go to settings page. You can find it under General tab.

    [https://drive.google.com/file/d/0Bzy5VpxF6yWxVEhCVkxtbmMxTmc/view?usp=sharing])

    I am logged in as admin but there is no setting? Can I do it in the DB somewhere?

  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You should login as 'host admin'. Leave tenancy name as empty in the login for, use admin as username and 123qwe as password (if you haven't changed it before).

  • User Avatar
    0
    theedge created

    Doh! Thanks Halil - should have thought of that.