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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-07-14 09:19:31 +0300
committerGitHub <noreply@github.com>2020-07-14 09:19:31 +0300
commitf04edc9da3e894131dc63aafd93de4eee02f2bd5 (patch)
tree92499be942551d3fc636e3c1cecdbf58a3f156b9 /plugins
parent131b94b39663c5423e1cbf7495e69b3db4750815 (diff)
Add new user preference (#16206)
isLDAPUser is used in LoginLDAP. Eventually we'll let plugins define custom preference names.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/UsersManager/API.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/UsersManager/API.php b/plugins/UsersManager/API.php
index 7898e589e6..011b07a8c2 100644
--- a/plugins/UsersManager/API.php
+++ b/plugins/UsersManager/API.php
@@ -280,6 +280,7 @@ class API extends \Piwik\Plugin\API
$names = array(
self::PREFERENCE_DEFAULT_REPORT,
self::PREFERENCE_DEFAULT_REPORT_DATE,
+ 'isLDAPUser', // used in loginldap
'hideSegmentDefinitionChangeMessage',// used in JS
'randomDoesNotExist',// for tests
'RandomNOTREQUESTED',// for tests