Avoid redirect to login page when accessing protected node
When I add "role based protection" on a node in the "Public Access" setting, I have to select a "login" page that I'll be redirected to if I'm not logged in.
Is there any way to avoid this redirect? I would like the page to just fail with a HTTP 403 Unauthorized (or something like that).
Avoid redirect to login page when accessing protected node
When I add "role based protection" on a node in the "Public Access" setting, I have to select a "login" page that I'll be redirected to if I'm not logged in.
Is there any way to avoid this redirect? I would like the page to just fail with a HTTP 403 Unauthorized (or something like that).
is working on a reply...