Commit b75d67c8 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(user) Set homePhone as PhoneNumberAttribute to restrict format

issue #5909
parent 4cb832a1
...@@ -189,7 +189,7 @@ class user extends simplePlugin ...@@ -189,7 +189,7 @@ class user extends simplePlugin
_('Home address'), _('Home postal address'), _('Home address'), _('Home postal address'),
'homePostalAddress', FALSE 'homePostalAddress', FALSE
), ),
new StringAttribute ( new PhoneNumberAttribute (
_('Private phone'), _('Home phone number'), _('Private phone'), _('Home phone number'),
'homePhone', FALSE 'homePhone', FALSE
), ),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment