Membership after signup redirects to profile

By hk - April 23, 2020

I cannot figure out where this setting is to change.

I want to redirect to a specific page after signup to a new account with auto login.

I skip the email verification, because the user needs an invitation code to signup.

I use this code:

  // ... add more form fields here by copying the above line!     

$userNum = mysql_insert(accountsTable(), $colsToValues, true);     

$email = $_REQUEST['email'];  $password = $_REQUEST['password'];     

$_REQUEST        = array(); // clear form values  

redirectBrowserToURL('/films/?action=login&username='.$email.'&password='.$password);

It always goes to the profile page.

Thanks

Helmut