This topic has 2 replies, 2 voices, and was last updated 10 years by rudik2.

  • Author
  • #12190
     rudik2
    Participant

    Hi,
    all notification from Limit Login plugin, WangGuard etc. are not displayed on LOGIN form.
    How to fix it?

    When i use url myblog.com/login all work ok, but when i click “Login button” in home page all notification from plugin (for example blocked account or too many login attempts etc.) are not displayed.

    #12446
     Abe
    Keymaster

    Hi, Achieve that by replacing in functions.php:

    COPY CODE
    
    			echo json_encode(array('loggedin'=>false, 'message'=> '<i class="icon-warning-sign"></i> ' . __('Wrong username or password. Please try again.', 'kleo_framework')));
    
    

    with

    COPY CODE
    
    			$error = array();
    			foreach ($user_signon->errors as $err) {
    				$error[] = $err[0];
    			}
    			echo json_encode(array('loggedin'=>false, 'message'=> '<i class="icon-warning-sign"></i> ' . join('<br>', $error)));
    

    around line 1344

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #12469
     rudik2
    Participant

    Working OK! Thank You!

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

The topic ‘Problem with notification in login form (Login button in home page)’ is closed to new replies.

Log in with your credentials

Forgot your details?