From the login page , somehow your code reaches to this controller page (file: /vendor/magento/module-customer/Controller/Account/LoginPost.php), here you will see that message , then you can edit here or in your custom module. <br> <b>Edit</b><br>I checked your case , so in your case this file will be present in your custom module, override is given already by you , you need to recognize/ find your modified controller file, it will be very similar to above mentioned file and you can further edit that custom controller file. <br> Thanks<br> Vibhore