Login Button Redirect

Oberdan

The button is a login button not a sign up button. Why not have a sign up button that uses the wixUsers.promptLogin( ) in sign up mode like so:

wixUsers.promptLogin( {"mode": "signup"} )
.then((userRecord) => {
    wixLocation.to('/profile');
});

Alternatively you can create your own signup using the wixUser.register() function on your profile page.

Steve