Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-17 18:04:20 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-12-17 18:04:20 +0400
commit0fbc105e8d8bcb4019b97ec60e74051a1bdbb388 (patch)
treea4110837d3854becc8803d6bb387b88a5e0333c3 /user_saml
parent968ac3e06f4aa180a0ea9b201072783a675e60bd (diff)
check if admin
Diffstat (limited to 'user_saml')
-rw-r--r--user_saml/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/user_saml/settings.php b/user_saml/settings.php
index 9a97496bc..5d930e251 100644
--- a/user_saml/settings.php
+++ b/user_saml/settings.php
@@ -21,6 +21,8 @@
*
*/
+OC_Util::checkAdminUser();
+
$params = array('saml_ssp_path', 'saml_sp_source', 'saml_autocreate', 'saml_update_user_data', 'saml_protected_groups', 'saml_default_group', 'saml_username_mapping', 'saml_email_mapping', 'saml_group_mapping');
OCP\Util::addscript('user_saml', 'settings');