Anonymous login Upgraded
Component type
Categories
Maintenance status
Development status
Component created
Component changed
This is a very simple, lightweight module that will redirect anonymous users to the login page whenever they reach any admin-specified page paths, and will direct them back to the originally-requested page after successful login.
Configuration
After enabling the module, navigate to the admin settings page (admin/config/system/anonymous-login). You can enter the list of path with custom message for each path, which will redirect anonymous users to the login page when visited.

