There is no way to prevent this from happening. If the script knows the username and password, they will be able to log in.
You can use captcha so that automatic logins cannot read it, but it will also be a burden for real users.
If you are concerned that it is used for verification and authorization, you may need more information after several attempts.
- Disconnect your account and request re-activation by email.
- Request interception after several failed attempts
source share