From c4798ce16f7e255c10b321635779ac7d53275a16 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 27 Jul 2014 14:17:01 +0200 Subject: [PATCH] Do not return list of plugins when logged out --- php/modules/Session.php | 1 + 1 file changed, 1 insertion(+) diff --git a/php/modules/Session.php b/php/modules/Session.php index 5ae0303..b541988 100755 --- a/php/modules/Session.php +++ b/php/modules/Session.php @@ -59,6 +59,7 @@ class Session extends Module { unset($return['config']['sorting']); unset($return['config']['dropboxKey']); unset($return['config']['login']); + unset($return['config']['plugins']); # Logged out $return['loggedIn'] = false;