diff options
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php index 72bd18e0..1efd36ef 100644 --- a/play/index.php +++ b/play/index.php @@ -74,7 +74,7 @@ if (Config::get('xml_rpc')) { // If require session is set then we need to make sure we're legit if (Config::get('require_session')) { - if(!Stream::session_exists($sid)) { + if(!Stream::session_exists($sid) && !Access::session_exists(array(),$sid,'api')) { debug_event('session_expired',"Streaming Access Denied: " . $GLOBALS['user']->username . "'s session has expired",'3'); die(_("Session Expired: please log in again at") . " " . Config::get('web_path') . "/login.php"); } |