anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: tenable/pytenable
Issue: Missing password in payload to enable SMS MFA

**Describe the bug**
When [sending a verification code](https://developer.tenable.com/reference#users-two-factor-enable) in the users module an error is returned that the current password is invalid.  This is the users module [enable two factor](https://github.com/tenable/pyTenable/blob/32b925f0cebd4d3032f85e65571dd9593778b9f1/tenable/io/users.py#L233-L251).

**To Reproduce**
Steps to reproduce the behavior:
1. Import the TenableIO class
2. Send a request to the `users/{user_id}/two-factor/send-verification` endpoint
3. See error
```
>>> from tenable.io import TenableIO
>>> tio = TenableIO(<access key>,<secret key>)
>>> payload = {'sms_phone': <phone number>}
>>> tio.post('users/164/two-factor/send-verification', json=payload)
POST https://cloud.tenable.com/users/164/two-factor/send-verification >> 89ad65e7824191efe08c671429a000b8:400 {"error":"Current password is invalid."}
```

**Expected behavior**
Should return 200 with empty response.

**Screenshots**
N/A

**System Information (please complete the following information):**
 - OS: MacOS
 - Architecture 64bit
 - Version 11.6
 - Memory 16G

**Additional context**
When adding the users password to the payload then the POST call succeeds.
eg. `{'sms_phone': <phone number>,'password': <password>}`
This isn't documented in the Tenable API documentation and doesn't look valid in pyTenable.

Changed files:
tenable/io/users.py

diff --git a/tenable/io/users.py b/tenable/io/users.py
index 76949a3..0d280b9 100644
--- a/tenable/io/users.py
+++ b/tenable/io/users.py
@@ -216,14 +216,16 @@ class UsersAPI(TIOEndpoint):
         self._api.put('users/{}/two-factor'.format(
             self._check('user_id', user_id, int)), json=payload)
 
-    def enable_two_factor(self, user_id, phone):
+    def enable_two_factor(self, user_id, phone, password):
         '''
         Enable phone-based two-factor authorization for a specific user.
 
         :devportal:`users: two-factor-enable <users-two-factor-enable>`
 
         Args:
+            user_id (int): The user id
             phone (str): The phone number to use for two-factor auth.
+            password (str): The user password.
 
         Returns:
             :obj:`None`:
@@ -234,7 +236,9 @@ class UsersAPI(TIOEndpoint):
         '''
         self._api.post('users/{}/two-factor/send-verification'.format(
             self._check('user_id', user_id, int)), json={
-                'sms_phone': self._check('phone', phone, str)})
+                'sms_phone': self._check('phone', phone, str),
+                'password': self._check('password', password, str)
+            })
 
     def verify_two_factor(self, user_id, code):
         '''