modxcms/Login

Login to multiple subdomain contexts

Opened this issue · 0 comments

Hi,

you can add to Login documentation the details bellow:

To Login and Logout to multiple subdomain contexts update the system setting session_cookie_domain to .youdomain.xx and add the contexts keys to the Login call with &contexts=context1,context2,...

The leading period makes the session cookie valid for all subdomains.

Don't forget to clear you browser cookies after changing the above setting otherwise the Login component won't function !