Help with page redirect!

@salman_badshah

Hm it looks now correct, like it should:

wixUsers.register(email, password, {
    contactInfo: {
        "firstName": firstName,
        "lastName": lastName,
        "phone": phone,
        "nickname": nickname
    }
  } )
  .then( (result) => {
    let resultStatus = result.status;
  } );
 

Can you please show the hole Error-Message (e.g screenshot).