Automatic logouts not enforced

walden - April 20, 2007 - 14:24
Project:Automated Logout
Version:5.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I installed the automatic logout module, but it is not enforcing the logouts. Is it possible there is a module conflict? I don't see anything in the log entries screen.

We also have Login toboggan, login destination, tax access and other modules running on drupal 5.1.

Any ideas on why this isn't working?

#1

AjK - April 23, 2007 - 21:04

When an auto-logout occurs you shoudl see "automatic logout activated" and "Session closed for %name" (%name will be the name of the user) in your logs. If you don't see that then it's not activating.

I can't see how another module is conflicting unless that has some sort or "auto-login" feature but without the above logs it seems it's just not kicking in. I susspect you have a "policy setup" problem or the module is just not enabled (it has it's own enable switch in it's config area).

Please check those settings.

#2

walden - April 24, 2007 - 21:49

the enable box is checked in the module settings.

no auto logouts are shown in the logs. I'm not sure what you mean by "policy setup" - how would this affect the auto log out module?

Thanks

#3

AjK - April 24, 2007 - 21:54

The "policy" is important. Depending on how it's setup users in certain roles won't be logged out automatically. Read the policy instructions. Remember, if a role is defined to be excluded from auto-loggout then that takes precidence over the include policy.

Also, to prevent loosing work, if a form is submitted outside the allotted time, a logout won't occur then either.

#4

walden - April 25, 2007 - 21:23

I was trying to auto logout a role called "sales", but also needed to enforce auto logouts for "authenticated users".

Thanks for the tip

#5

AjK - May 2, 2007 - 12:36
Status:active» fixed

#6

Anonymous - May 16, 2007 - 13:04
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.