code: def increment_failed_logins(self):
          
          if not self.failed_logins:
              self.failed_logins = 1
          elif not self.failed_login_limit_reached():
              self.failed_logins += 1
          else:
              self.reset_login_counter()
              self.lock_account(30)
docs: Increment failed logins counter