• Good option to stop false registrations. You know, Yahoo, Gmail, Outlook (Hotmail), etc. has verification by Phone and Captcha, you cant create an email very easy for spam, etc. So, if you can add this options to your plugin:

    – Active => valid email domain:
    [ ] outlook
    [ ] hotmail
    [ ] gmail
    [ ] yahoo
    Add other email domain [ ]

    ABOUT THIS: HERE

    Restrict user registration to emails on a single domain

    ———————-

    OTHER FEATURE:

    How to login with email only no username?

    Security for Buddypress:
    With this option activated, user cant do log in with his username, only with your email.

    Other option: Force user to use strong password. You can select: All, Editors, Subscribers… (Yes, I know, WordFence has this option, but, you know, WF and AIO together = bugs).

    OTHER VERY IMPORTANT SECURITY!!!

    Hide Author from WordPress (posts)
    In spanish (sorry, I hope that you can understand the code).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for all your suggestions. The plugin developers will investigate further your request.

    Regards

    Thread Starter livingflame

    (@livingflame)

    My friend. If you can add this too.
    WordFence has this, but your plugin not.
    So, you can add.

    Force Strong Password on Your WordPress

    @mbrsolution

    Thread Starter livingflame

    (@livingflame)

    And @mbrsolution
    The method of Brute force prevent by spacial Cookie does NOT work well.

    I suggest you Two factor of authentication (but SEE! that this method does not affect BuddyPress login, try after update).

    Thread Starter livingflame

    (@livingflame)

    Any solution?

    I found this code ===> But, does not work. :-/
    I dont know if is My Theme Registration Form or BuddyPress… The problem is, that you can Register with whatever Email, i.e. [email protected]

    And, there is not a button of field to Resend the Email Confirmation, after you complete.

    functions.php

    // Restrict WordPress Registration to Email Whitelist
    function is_valid_email_domain($login, $email, $errors ){
     $valid_email_domains = array("yahoo.com","hotmail.com","outlook.com","gmail.com","aol.com","mail.com");;// whitelist email domain lists
     $valid = false;
     foreach( $valid_email_domains as $d ){
     $d_length = strlen( $d );
     $current_email_domain = strtolower( substr( $email, -($d_length), $d_length));
     if( $current_email_domain == strtolower($d) ){
     $valid = true;
     break;
     }
     }
     // if invalid, return error message
     if( $valid === false ){
     $errors->add('domain_whitelist_error',__( '<strong>ERROR</strong>: you can only register using @gmail.com or @outlook.com emails' ));
     }
    }
    add_action('register_post', 'is_valid_email_domain',10,3 );
    Thread Starter livingflame

    (@livingflame)

    @mbrsolution

    Help with that! Is for Security!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Restrict user registration to emails on a single domain’ is closed to new replies.