forked from qwigo/warrant
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
admin_disable_user never uses the provided username parameter. It will disable the current user - if any:
def admin_disable_user(self, username):
"""
Disable a user
:param username:
:return:
"""
self.client.admin_disable_user(
UserPoolId=self.user_pool_id,
Username=self.username,
)It should be:
def admin_disable_user(self, username):
"""
Disable a user
:param username:
:return:
"""
self.client.admin_disable_user(
UserPoolId=self.user_pool_id,
Username=username,
)Metadata
Metadata
Assignees
Labels
No labels