Hey, I've saw that I can provide additional values when registering the user by providing more values to formFields array. Can I change them after user has been signed up? Also is it possible to let users change their email?
r
rp_st
12/06/2022, 4:53 PM
hey @tymek65
rp_st
12/06/2022, 4:54 PM
what do you mean change the form fields after their have signed up?
Also, yea, you can change their email. There is a function in the backend SDK for the recipe you called
updateEmailOrPassword
rp_st
12/06/2022, 4:54 PM
if by changing form fields, you mean you want to change the values submitted by the user, then yes, you can.
You can override the sign up API to read and modify the values of that input before or after calling the original implementation
t
tymek65
12/06/2022, 4:55 PM
So for instance, when registering the user I will create a nickname value in formFields and later on user decides to change it
r
rp_st
12/06/2022, 4:56 PM
right yea. So we don't store the extra form fields anyway. You can store it yourself in your db or in the user metadata recipe - both of which allow you to change the stored info
t
tymek65
12/06/2022, 8:46 PM
Ohhh, so extra formFields are just for my use on the backend and by default if I won't do anything with those extra ones they just wont be stored anywhere?
r
rp_st
12/07/2022, 4:03 AM
Yes. Correct. It’s just way to ask user for more info and make it available to you in the sign up override