Thanks Yisrael. Getting an error at “.then” . What should I edit? I believe I need a promise, but not sure how a promise works.
wixUsers.register($w('#email').value, $w('#password').value,{
.then(()=>{
wixLocation.to('/account/my-account');