code: def reset_failed_attempts(ip_address=None, username=None):
      
      pipe = REDIS_SERVER.pipeline()
  
      unblock_ip(ip_address, pipe=pipe)
      unblock_username(username, pipe=pipe)
  
      pipe.execute()
docs: reset the failed attempts for these ip's and usernames