mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
admin lastname defaults to undefined
This commit is contained in:
parent
07bbe1588e
commit
702cf6a183
@ -113,7 +113,7 @@ const Register = ({ authType, fieldsToDisable, noSignin, onSubmit, schema }) =>
|
|||||||
enableReinitialize
|
enableReinitialize
|
||||||
initialValues={{
|
initialValues={{
|
||||||
firstname: userInfo.firstname || '',
|
firstname: userInfo.firstname || '',
|
||||||
lastname: userInfo.lastname || '',
|
lastname: userInfo.lastname || undefined,
|
||||||
email: userInfo.email || '',
|
email: userInfo.email || '',
|
||||||
password: '',
|
password: '',
|
||||||
confirmPassword: '',
|
confirmPassword: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user