mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +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
|
||||
initialValues={{
|
||||
firstname: userInfo.firstname || '',
|
||||
lastname: userInfo.lastname || '',
|
||||
lastname: userInfo.lastname || undefined,
|
||||
email: userInfo.email || '',
|
||||
password: '',
|
||||
confirmPassword: '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user