@dtses14
When Nextend Social Login registers a new account, we:
- generate a temporary, random password the same way WordPress does, via the wp_generate_password() function
Since this is an automatically generated password, it is important to inform the users about that they have to set a password for their account, so we also set the default_password_nag user option for their account:
update_user_option($user_id, 'default_password_nag', true, true);
This way they will be aware of that their account is using an automatically generated one.
So this is completely expected, and especially important in the case of social media providers where the email is not always returned ( e.g. Facebook gives people an option to hide their email addresses ), so we have to register a new account without email address.
If these users:
- won’t set a password ( that they will remember )
- nor an email address ( once they logged in )
- and don’t have any other social media accounts linked either
then they won’t be able to log in in any ways, if Meta disables your Facebook App for some reason, since:
- these users can only login with Facebook social login
- without knowing the password they won’t be able to login with the tradition username/email + password form
- without an email address they won’t be able to request a password reset email
If you don’t mind locking some users out in the above mentioned situation, then you can delete that user option at the end of our registration something like this:
add_action('nsl_register_new_user', function ($user_id) {
delete_user_option($user_id, 'default_password_nag', true);
});
and that way your users won’t see that notification anymore.
As for your question about the Pro Addon:
Yes, we have an option to request the user a password manually before the registration with social login, so it won’t be an automatically generated one anymore, thus the user won’t see that warning either. Also we have an option to request the email address when the provider doesn’t return one. But as I mentioned above, the forum guidelines, don’t allow us to discuss topics about the Pro Addon here, so if you are interested in any of the Pro Addon features, then please contact us directly over the ticket system:
and we will answer your questions there.
Best regards,
Laszlo.