Is this the correct way to implement extra data? I...
# support-questions-legacy
j
Is this the correct way to implement extra data? I want to store the following info, so I added it to init on the backend like so, but now it says the same fields are required on sign in as well?
Copy code
js
        EmailPassword.init(
            {
                signUpFeature: {
                    formFields: [
                        {
                            id: "first_name",
                            optional: false,
                        },
                        {
                            id: "last_name",
                            optional: false,
                        },
                        {
                            id: "cell_number",
                            optional: false,
                        },
                        {
                            id: "marketing_opt_in",
                            optional: false,
                        }
                    ]
                }
            }
        ),