Logout the user if an error is occurring in the template rendering
This line usually occurs if the account_type is not set correctly, hence if the user has been logged-out and tries to reload the access restricted page (back in the browser history).
Loading