Help with page redirect!

@salman_badshah
Ay ay ay… I see something. A bracket “)” is missing.

Your code:

 wixUsers.register($w('#email').value, $w('#password').value,             .then( () => { 
 ....
 ...

And now have a look at the Corvid-Example:

wixUsers.register(email, password)
  .then( (result) => {
    let status = result.status; // "Active"
    let user = result.user;
  } );

Can you find it :wink: