How to set display name while signing up user
im wondering if we can set a the display name while signing up users. Im using email sign up to users and i do take the name fireld in form, i need the name on my profiles table and i dont want to insert it myself, so im wondering if theres a way bcs then i can use trigger a function to insert the name and id to my profiles table.
I've tried to add the following code in the signup function, i got this from chat gpt, and it did not work
{
data: {display_name: "smt"
},
I've tried to add the following code in the signup function, i got this from chat gpt, and it did not work
{
data: {display_name: "smt"
},