WordPress.org

Support

Support » Plugins and Hacks » Social Connect » Doesn't respect registration option

Doesn't respect registration option

  • TheQuicksilver

    @thequicksilver

    Ideally, line 178 should be changed from
    $user_id = wp_insert_user( $userdata );
    to

    if (get_option('users_can_register'))
    	$user_id = wp_insert_user( $userdata );

    So that the social login will respect the blog settings as to whether or not to allow user registration. Otherwise, it will make anyone an account regardless of if you want them to be able to or not.

    http://wordpress.org/extend/plugins/social-connect/

  • The topic ‘Doesn't respect registration option’ is closed to new replies.
Skip to toolbar