WordPress.org

Ready to get started?Download WordPress

Forums

Social Connect
Doesn't respect registration option (1 post)

  1. TheQuicksilver
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic