score:-1

const { displayname, email, surname, cellphone, address, province, tccheckbox } = userauth;

did you mean additionaldata instead of userauth?

score:1

i would think this is related with createuserwithemailandpassword. this method returns object usercredential. please check the reference and example.

so in the code there is user assignment and i think this should be corrected to:

const user = yield auth.createuserwithemailandpassword(email, password).user;

more or less like in the example. i do not have a playground to test it, so please share the result.


Related Query

More Query from same tag