mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Made name field optional in Portal account settings (#21900)
ref DES-898 - previously, the name field in Portal account settings used to be required which caused an issue users were not able to update their email address without adding name first - now the name field is optional makes it possible to update the email address without adding name, or remove their name as well - it was intended not to wire this up to "Display name in signup form" setting in Portal for the simplicity
This commit is contained in:
parent
4bc85e2ff2
commit
4ec0bdde3c
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ export default class AccountProfilePage extends React.Component {
|
||||||
placeholder: t('Jamie Larson'),
|
placeholder: t('Jamie Larson'),
|
||||||
label: t('Name'),
|
label: t('Name'),
|
||||||
name: 'name',
|
name: 'name',
|
||||||
required: true,
|
required: false,
|
||||||
errorMessage: errors.name || ''
|
errorMessage: errors.name || ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue