diff options
Diffstat (limited to 'admin/system.php')
-rw-r--r-- | admin/system.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/system.php b/admin/system.php index a9cc079c875..6e79f43ddf6 100644 --- a/admin/system.php +++ b/admin/system.php @@ -23,7 +23,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); -if( !OC_USER::isLoggedIn()){ +if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ header( "Location: ".OC_UTIL::linkto( "index.php" )); exit(); } |