Skip to:
Content
Pages
Categories
Search
Top
Bottom

Not Logged in after Sign Up

  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    This was working but don’t know what happened here recently.

    After the user signs up, it redirected to homepage with user already logged in.

    The redirect works but the user is logged in.

    Now it doesn’t do that…any ideas. I am on 3.1/1.2.8 bp.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Weshaw
    Weshaw
    Participant

    @weshaw

    I’ve got the same problem: sign-up works, redirect works, but user isn’t signed in.

    Avatar of milordk
    milordk
    Participant

    @milordk

    Fix:

    ~94 rows bp-disable-activation.php:
    After:
    /* Set the password */
    $wpdb->update….

    insert:

    global $wp_roles;
    $jusercap = new WP_User($signup);
    $jusercap->set_role(‘subscriber’);

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.