[UI][ACCOUNT][SETTINGS] Hack to fix error related to phone number, until a solution is found upstream

This commit is contained in:
Hugo Sales 2020-08-16 23:22:23 +00:00 committed by Hugo Sales
parent b19be6be52
commit 2486eb1949
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -95,7 +95,7 @@ class UserPanel extends AbstractController
['password', TextType::class, ['label' => _m('Password'), 'required' => false, 'help' => _m('Change your password'), 'attr' => ['placeholder' => '********']]],
['old_password', TextType::class, ['label' => _m('Old password'), 'required' => false, 'help' => _m('Enter your old password for verification'), 'attr' => ['placeholder' => '********']]],
['language', LanguageType::class, ['label' => _m('Language'), 'required' => false, 'help' => _m('Your preferred language')]],
['phone_number', PhoneNumberType::class, ['label' => _m('Phone number'), 'required' => false, 'help' => _m('Your phone number')]],
['phone_number', PhoneNumberType::class, ['label' => _m('Phone number'), 'required' => false, 'help' => _m('Your phone number'), 'data_class' => null]],
['save', SubmitType::class, ['label' => _m('Save')]],
];