diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-12-17 18:04:20 +0400 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-12-17 18:04:20 +0400 |
commit | 0fbc105e8d8bcb4019b97ec60e74051a1bdbb388 (patch) | |
tree | a4110837d3854becc8803d6bb387b88a5e0333c3 /django_auth | |
parent | 968ac3e06f4aa180a0ea9b201072783a675e60bd (diff) |
check if admin
Diffstat (limited to 'django_auth')
-rw-r--r-- | django_auth/settings.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django_auth/settings.php b/django_auth/settings.php index 314a26d46..36e45724e 100644 --- a/django_auth/settings.php +++ b/django_auth/settings.php @@ -20,6 +20,8 @@ * */ +OC_Util::checkAdminUser(); + $params = array('staff_is_admin', 'superuser_is_admin'); if ($_POST) { |