function session_limit_session_limit_bypass in Session Limit 6.2
Same name and namespace in other branches
- 7.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 644 - Limits multiple sessions per user.
Code
function session_limit_session_limit_bypass() {
if (arg(0) == 'session' && arg(1) == 'limit' || arg(0) == 'logout') {
return TRUE;
}
}