Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @dtses14

    What you need to know is that, Nextend Social Login registers the users the same way as WordPress does, just we use the data coming from the provider instead of manually entered credentials.

    So that that registration notification is not coming from us, but we tell WordPress to send its registration notification once we created a new account.

    This means, if you want to modify the contents of that email, you need to customize the WordPress default registration notification. You can do this by:

    Tip:

    • I see you mentioned that you manage a shop. If you are using WooCommerce, then our Pro Addon has an integration for their registration notifications, too. So the registration with Nextend Social Login would send the same registration notification that WooCommerce sends ( instead of the WordPress default one ).
      However, as per the forum guidelines, we are not allowed to discuss topics about commercial products ( such as the Pro Addon ) here, so if you are interested in that feature, then please contact us directly over the ticket system:
      https://social-login.nextendweb.com/support/

    Best regards,
    Laszlo.

    Thread Starter dtses14

    (@dtses14)

    many thanks, Laszlo, that was very helpful.

    One more detail, does the plugin or the pro version allow user registration via google without a temporary pass? Every time I test, I get this notification after google registration in My account:

    “Your account with … is using a temporary password. We emailed you a link to change your password.”

    then user gets an mail to wp-admin form I described initially.
    The plugin you’ve mentioned does help to customize this email, however it would be easier to skip this step at all with temp pass.

    Thanks!

    Plugin Support Laszlo

    (@laszloszalvak)

    @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.

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

The topic ‘Login Details email (links to admin wp-login.php reset pass form)’ is closed to new replies.