Attached patch to allow option to force users to login before viewing site

ajevans85 - June 1, 2009 - 14:35
Project:LoginToboggan
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
logintobaggan_forcelogin.patch59.91 KB

#1

hunmonk - October 11, 2009 - 19:32
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.

#2

System Message - October 25, 2009 - 19:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.