Skip to:
Content
Pages
Categories
Search
Top
Bottom

When inactive users try to log in, I want show them an alert message.

  • Users registered, but not activated (user_status = 2) cannot log in. That’s OK.
    But, when inactive users fail to log in, no alert messages are displayed.

    function bp_core_signup_disable_inactive ( …

    if ( 2 == $user_status )
    bp_core_redirect( $bp->root_domain );
    else
    return $auth_obj;

    When inactive users try to log in, they simply send back to home.
    It would be nicer, if inactive users try to log in, show them a message like ‘Please click the link sent to you via E-mail. After clicking, you can log in.’

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When inactive users try to log in, I want show them an alert message.’ is closed to new replies.
Skip to toolbar