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

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-07-05 22:53:52 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-08-03 13:42:08 +0300
commit8c3a4b83e4ec7153222e7307aa12323a2d2b0eed (patch)
treea0d372ce137b28fcdb00ddd30bb902ce587d46fc /lib/Settings
parentd908675b74b5ea5d19285d1ebd04370ca3f8079f (diff)
Add global settings that are valid for all identity providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Settings')
-rw-r--r--lib/Settings/Admin.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php
index 56f8ce2d..a440a46f 100644
--- a/lib/Settings/Admin.php
+++ b/lib/Settings/Admin.php
@@ -97,10 +97,13 @@ class Admin implements ISettings {
'require_provisioned_account' => [
'text' => $this->l10n->t('Only allow authentication if an account exists on some other backend. (e.g. LDAP)'),
'type' => 'checkbox',
+ 'global' => true,
],
'allow_multiple_user_back_ends' => [
'text' => $this->l10n->t('Allow the use of multiple user back-ends (e.g. LDAP)'),
'type' => 'checkbox',
+ 'hideForEnv' => true,
+ 'global' => true,
],
];
$attributeMappingSettings = [
@@ -131,6 +134,7 @@ class Admin implements ISettings {
$generalSettings['use_saml_auth_for_desktop'] = [
'text' => $this->l10n->t('Use SAML auth for the %s desktop clients (requires user re-authentication)', [$this->defaults->getName()]),
'type' => 'checkbox',
+ 'global' => true,
];
}