From 47065b73154ce8145ee48c468fa393c3b87911a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org>
Date: Wed, 27 Nov 2019 11:04:21 +0100
Subject: [PATCH] :sparkles: feat(user) Add initials field to user edition

issue #6053
---
 plugins/personal/generic/class_user.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc
index 014025551..b6915a3a3 100644
--- a/plugins/personal/generic/class_user.inc
+++ b/plugins/personal/generic/class_user.inc
@@ -99,6 +99,11 @@ class user extends simplePlugin
             'givenName', TRUE,
             '', '', '/^[^,+"?()=<>;\\\\]+$/'
           ),
+          new StringAttribute(
+            _('Initials'), _('The initials of some or all of the individual\'s names, but not the surname(s)'),
+            'initials', FALSE,
+            '', '', '/^[^,+"?()=<>;\\\\]+$/'
+          ),
           new TextAreaAttribute(
             _('Description'), _('Short description of the user'),
             'description', FALSE
-- 
GitLab