diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-12-17 14:46:57 +0100 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-12-17 14:46:57 +0100 |
commit | c4ecbad0099c31611155e4712f2cac2b9ced26a4 (patch) | |
tree | 0ae9d5969a2ea5cd2de3b0f22f094aa3c92e5ead /apps/user_webdavauth/settings.php | |
parent | e16be33384e49276ef9b483b6c8f667ad688e372 (diff) | |
download | nextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.tar.gz nextcloud-server-c4ecbad0099c31611155e4712f2cac2b9ced26a4.zip |
check if admin
Diffstat (limited to 'apps/user_webdavauth/settings.php')
-rwxr-xr-x | apps/user_webdavauth/settings.php | 2 |
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'])) { |