thecogworks / Cogworks.SiteLock

A security package for Umbraco 7. Lock down an Umbraco website from viewers. Only users who are logged into the backoffice can see the public website.
MIT License
10 stars 5 forks source link

Needs an option to change response Statuscode #11

Open sekmenhuseyin opened 4 years ago

sekmenhuseyin commented 4 years ago

In RequestProcessor.cs status code is hard-coded. httpContext.Response.StatusCode = 403;

I think you need to have an option change the status code and redirect users to login page