Skip to content

Add login site redirect functionality for multisite users#23

Closed
cairocoder01 wants to merge 1 commit into
DiscipleTools:masterfrom
cairocoder01:site-redirect
Closed

Add login site redirect functionality for multisite users#23
cairocoder01 wants to merge 1 commit into
DiscipleTools:masterfrom
cairocoder01:site-redirect

Conversation

@cairocoder01

Copy link
Copy Markdown
Contributor

If a user exists only on a sub-site and not the root site and the user mistakenly goes to the root site to login, they are currently not allowed to login. This redirects them to their appropriate sub-site.

If the user is a member of a single sub-site, it just redirects them right to that site.

If the user is a member of multiple sub-sites, they are brought to a site selector to choose which they want to go to.

image

If the user is a member of multiple sub-sites and the root site, they just go to the root site.

This logic only happens on the login of the root site. Logins for the sub-sites still require the user to have access to the site they are on.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant