• Resolved most1879

    (@most1879)


    When users try to log in, they get this error message: ‘You can’t login until an administrator manually approve your account.’

    But only if they try to log in with their email address.

    if they log in with their Username, they can log in normally.

    how i can solve this issue?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Saiful Islam

    (@saifislam01)

    Hi?@most1879,

    Thank you for bringing this issue to our attention. We highly recommend updating to WP User Frontend Free (v4.0.8) at your earliest convenience. Should you encounter login issues following the update, please contact through?the website.

    Best regards,

    ddrj

    (@ddrj)

    The cause of the issue is in the file:wp-user-frontend/includes/Free/simple_login.php.

    The updated version 4.0.8 includes the following which is not included in the earlier version 4.0.6

    Line 494

    return;
    }

            $wpuf_user_status = get_user_meta( $user->ID, 'wpuf_user_status', true );
    
            if ( 'approved' !== $wpuf_user_status ) {
                $message = __( 'You can\'t login until an administrator manually approve your account.', 'wp-user-frontend' );
    
                $this->login_errors[] = $message;

    Removing this from simple-login.php in version 4.0.8 corrects the issue of users not being able to login via email.

    Thread Starter most1879

    (@most1879)

    @ddrj
    Thank you, this has fixed the issue.
    @saifislam01
    Any idea how this can be fixed in an update or setting?

    You’re right! They can log in with their username, but not their email. Hopefully they fix this soon, I never remember usernames only emails when logging into things.

    Plugin Support Saiful Islam

    (@saifislam01)

    Hi @ddrj,
    Thank you for providing the code that resolves the problems. I appreciate your collaboration.

    @most1879, @kimberlyafarrell, This issue will be fixed in our next release. Your patience and continued support are appreciated.

    Regards,

    Paul

    (@pawelszroeder)

    Is it resolved? I have the same bug on the newest version of plugin.

    Plugin Support Saiful Islam

    (@saifislam01)

    Hi @pawelszroeder,

    Yes, this issue was resolved with the latest version of the plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when log in with email address’ is closed to new replies.