You are here

function autologout_autologout_refresh_only in Automated Logout 7.4

Same name and namespace in other branches
  1. 8 autologout.module \autologout_autologout_refresh_only()
  2. 6.4 autologout.module \autologout_autologout_refresh_only()

Implements hook_autologout_refresh_only().

1 call to autologout_autologout_refresh_only()
AutologoutTestCase::testAutlogoutOfAdminPages in tests/autologout.test
Test enforce logout on admin page settings.

File

./autologout.module, line 499
Used to automagically log out a user after a preset time.

Code

function autologout_autologout_refresh_only() {

  // Check to see if an open admin page will keep login alive.
  if (!variable_get('autologout_enforce_admin', FALSE) && path_is_admin(current_path())) {
    return TRUE;
  }
}