diff --git a/warrant/__init__.py b/warrant/__init__.py index 2a0c2313..67b22932 100644 --- a/warrant/__init__.py +++ b/warrant/__init__.py @@ -589,6 +589,13 @@ def admin_delete_user(self): Username=self.username ) + def admin_reset_password(self, username, client_metadata=None): + response = self.client.admin_reset_user_password( + UserPoolId=self.user_pool_id, + Username=username, + ClientMetatada=client_metadata, + ) + def confirm_forgot_password(self, confirmation_code, password): """ Allows a user to enter a code provided when they reset their password