Logging into CMS on main site shows first subsite site structure #31

Closed
sminnee opened this Issue Mar 31, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@sminnee
Owner

sminnee commented Mar 31, 2012

From http://open.silverstripe.org/ticket/5828

When logging into the CMS on the main site, e.g. http://localhost/gwmetlink/admin it always defaults to the first subsite it can find, so it shows the structure of that subsite instead of the main site.

I'd expect that if I logged into http://m.localhost/gwmetlink/admin instead.

Looks like alternateAccessCheck() is being called too early on when it can't find a member and setting the first Subsite ID it can access on LeftAndMainSubsites? line 130.

@halkyon

This comment has been minimized.

Show comment Hide comment
@halkyon

halkyon May 9, 2013

Owner

This doesn't appear to be an issue with latest version of subsites.

Owner

halkyon commented May 9, 2013

This doesn't appear to be an issue with latest version of subsites.

@halkyon halkyon closed this May 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment