Login Error Messages with Form Widget

Hi! Trying to figure out how to change error messages on form widget with login function.

This code is changing message only on wp-login.php page but not on your form:

function login_messages(){
return ā€˜Something is wrong!’;
}
add_filter( ā€˜login_errors’, ā€˜login_messages’ );

I even can’t to hide the message with css (.brxe-form.message.danger).

Please, help to understand what’s going on?

I think we need not only ā€œSuccess Messageā€ but ā€œError Messageā€ too:)

Any thoughts on this topic?

yeah, I’m still researching how to do this also