I have been trying your plugin and getting one small issue.
When I try to login using social connect account like Google then this registers the user on its own. I do not want to allow users to register, is there anyway I can control this auto register thing?
Hi, You can add this to your theme's functions.php: add_action('oa_social_login_action_before_user_insert', 'abort', 10, 2);
function abort() {
wp_redirect(home_url());
exit;
}So now, users will only be able to login with their social account if: they previously link their social account to their WP account, or if their social account's email addresses match that of an existing WP account (and that option is set in the Social Login settings).
Answers
You can add this to your theme's functions.php:
add_action('oa_social_login_action_before_user_insert', 'abort', 10, 2); function abort() { wp_redirect(home_url()); exit; }
So now, users will only be able to login with their social account if: they previously link their social account to their WP account, or if their social account's email addresses match that of an existing WP account (and that option is set in the Social Login settings).Hope this helps.