You are here

function session_limit_session_limit_bypass in Session Limit 7.2

Same name and namespace in other branches
  1. 6.2 session_limit.module \session_limit_session_limit_bypass()

Implements hook_session_limit_bypass().

Return value

bool TRUE if the page request should bypass session limitation restrictions.

File

./session_limit.module, line 721
Limits multiple sessions per user.

Code

function session_limit_session_limit_bypass() {
  if (arg(0) == 'session' && arg(1) == 'limit' || arg(0) == 'user' && arg(1) == 'logout') {
    return TRUE;
  }
}