<![CDATA[ Not Redirecting to Login Form - My Forums]]> https://forums.modx.com/thread/?thread=104915 <![CDATA[Not Redirecting to Login Form]]> https://forums.modx.com/thread/104915/not-redirecting-to-login-form#dis-post-564132 Login 1.9.7

On one site I have a simple login form with a few protected pages in the Web (web) context. If someone (not signed-in) tries to access one of the protected pages without first signing-in they are automatically redirected to the login form as I would expect. They do not get a 404.

But on a different site I have another login form, this time in a different context Test (test). When someone (not signed-in) tries to access a protected page they are not redirected to the login page but instead get a 404. I'm not necessarily saying the different contexts are the reason but I have no idea what's causing it.

Can anyone shed some light?

Thanks.]]>
todd.b Feb 19, 2019, 04:57 AM https://forums.modx.com/thread/104915/not-redirecting-to-login-form#dis-post-564132
<![CDATA[Re: Not Redirecting to Login Form]]> https://forums.modx.com/thread/104915/not-redirecting-to-login-form#dis-post-564145
If the login page is in a different context than the protected page, check the allow_forward_across_contexts System Setting

]]>
BobRay Feb 19, 2019, 08:08 PM https://forums.modx.com/thread/104915/not-redirecting-to-login-form#dis-post-564145