Issue with logon in multiple sites with hostname

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/14/2010 7:23:53 AM
Gravatar
Total Posts 2

Issue with logon in multiple sites with hostname

 

Version Information

mojoPortal Version 2.3.5.1 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Version v2.0.50727 Running in Full Trust
 

 --------

Web.config

I have the following settings in my web.config

<add key="UseRelatedSiteMode" value="true" />
<add key="RelatedSiteID" value="1" />
<add key="RelatedSiteModeHideRoleManagerInChildSites" value="true" />
<add key="AllowPasswordFormatChangeInChildSites" value="false" />
<add key="ShowSystemInformationInChildSiteAdminMenu" value="true" />
<add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="false" />

 -------

Issue

I am unable to share users across multiple sites

I can log into all of the sites as the admin admin2 ... adminx users

When I create a new user in any of the sites I noticed that the user table in  the database has the siteid from the site I registered the user in and not the value form the RelatedSiteID is this correct?

I can log into  the site  I create the user in but I cannot log into any of the other sites

My understanding is that the UseRelatedSiteMode=true  should allow me to create a user on one site and they then have the ability to log onto any other sites ( assuming they sign on multiple times) is this correct?

 

I guess I must have configured something wrongly can you help

 

 

9/14/2010 3:15:45 PM
Gravatar
Total Posts 2

Re: Issue with logon in multiple sites with hostname

after some digging around found the issue

it was a combination of having set UseRelatedSiteMode in the user config and in the webconfig

and the table mp_sites having the flag UseEmailForLogin true on some rows and false on others

 

The real issue is when you create a new site the default UseEmailForLogin  is always true. ( I thought it would have taken its default form the Main site).

Is the only way to make sure the new site will use usernames is to edit the mp_sites table ?

9/15/2010 5:54:39 AM
Gravatar
Total Posts 18439

Re: Issue with logon in multiple sites with hostname

Hi,

This is a known issue reported recently on another thread. It is fixed in the source code repository and will be fixed in the next release.

For now, a workaround is to go to the root site immediately after creating a child site. In related sites mode, every time you save site settings in the root site, it propagates the security settings to all child sites. So saving the parent site will fix the settings.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.