summaryrefslogtreecommitdiffstats
path: root/apps/user_webdavauth/settings.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-17 14:46:57 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-12-17 14:46:57 +0100
commitc4ecbad0099c31611155e4712f2cac2b9ced26a4 (patch)
tree0ae9d5969a2ea5cd2de3b0f22f094aa3c92e5ead /apps/user_webdavauth/settings.php
parente16be33384e49276ef9b483b6c8f667ad688e372 (diff)
downloadnextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.tar.gz
nextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.zip
check if admin
Diffstat (limited to 'apps/user_webdavauth/settings.php')
-rwxr-xr-xapps/user_webdavauth/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_webdavauth/settings.php b/apps/user_webdavauth/settings.php
index 910073c7841..41d7fa51cd2 100755
--- a/apps/user_webdavauth/settings.php
+++ b/apps/user_webdavauth/settings.php
@@ -21,6 +21,8 @@
*
*/
+OC_Util::checkAdminUser();
+
if($_POST) {
if(isset($_POST['webdav_url'])) {