Redirect 403 to User Login

Component ID

216143

Component name

Redirect 403 to User Login

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

198832

Component created

Component changed

Component body

Redirect the HTTP 403 error page to the Drupal /user/login page with an optional message that reads:

"Access denied! You must login to view this page."

Also, the desired page is appended in the url query string so that, once login is successful, the user is taken directly where they were originally trying to go.