If admin check if session exists

ofaj
jmontoyaa 9 years ago
parent ac33978580
commit 91307b5ba2
  1. 2
      main/inc/lib/sessionmanager.lib.php

@ -4104,7 +4104,7 @@ class SessionManager
// api_protect_admin_script(true); // api_protect_admin_script(true);
if (self::allowToManageSessions()) { if (self::allowToManageSessions()) {
if (api_is_platform_admin()) { if (api_is_platform_admin() && self::allowed($id)) {
return true; return true;
} }

Loading…
Cancel
Save