Implement a security feature to restrict users to three unsuccessful login attempts, requiring a password reset.
In the current setup, we allow users to make as many requests as they want. This is a risky behavior. We need to prevent a user to log in after three unsuccessfull attempts. After three unsuccessfull attempts, we need to force the user to reset their password. A model named 'SignInAttempt' needs to be created and it needs to have the following fields:->user->device_hash->country->region_code->city->successfull (boolean).
Test agreement empty template