summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/User/UserProperty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/User/UserProperty.php b/app/Core/User/UserProperty.php
index 348bd7f3..685690c2 100644
--- a/app/Core/User/UserProperty.php
+++ b/app/Core/User/UserProperty.php
@@ -44,7 +44,7 @@ class UserProperty
*/
public static function filterProperties(array $profile, array $properties)
{
- $excludedProperties = array('username');
+ $excludedProperties = explode_csv_field(EXTERNAL_AUTH_EXCLUDE_FIELDS);
$values = array();
foreach ($properties as $property => $value) {