Hi chetan0412,
First I would like to note that the developer does not recommend changing it.
That being said… I have found a way to change it.
As always backing up is recommended before changing files.
In /wp-content/plugins/better-wp-security/inc edit the file called secure.php.
if your using notepad++ or another text editor that has numbered lines then look for line # 930
Alternatively look for this line:
die( __( 'error', $this->hook ) );1
change ‘error’ to your custom message. Here is an example
die( __( '
<b>Error: You Have Been Locked Out Due To Too Many Bad Login Attempts.</b><br>
<br>
<br>
Please wait 15 minutes before attempting to login again. If you forgot your password use the <i><b>Password reset Link</b></i> on the login page <b>AFTER</b> your lockout has expired.<br>
If you continue to receive this message, please contact your web administrator
', $this->hook ) );
You can use basic html formatting in your message. Make sure that your entire message is surounded by ‘ just like the orignal message (‘error’) was.
Note: you will need to check this file any time bws is updated as it could be overwritten.
Also as doing this is not supported or recommended by the developer it carries no warranty of any kind nor will he support it.
To the developer: I know you don’t recommend doing this and are against it and I understand why but for some of us we just have to have a message there other than “error”.