I have attached a patch which adds a option which when enable forces users to login before accessing any part of the site. This is useful for intranet and in-house websites which should not be publicaly visable.

CommentFileSizeAuthor
logintobaggan_forcelogin.patch59.91 KBajevans85

Comments

hunmonk’s picture

Status: Active » Fixed

this is not a patch, but a copy of the entire module. please read http://drupal.org/patch/create to learn how to properly submit patches for drupal modules.

also, there is most certainly an easier way to do this then hacking the module. i'd try:

1. turning off 'access content' perms for anonymous users.
2. turning on LT's display login form on access denied feature.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.