diff --git a/pymisp/api.py b/pymisp/api.py index 806a7b1..e63a37f 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1376,7 +1376,8 @@ class PyMISP: response = self._prepare_request('POST', f'admin/users/delete/{user_id}') return self._check_json_response(response) - def change_user_password(self, new_password: str, user: Optional[Union[MISPUser, int, str, UUID]]=None) -> Dict: + def change_user_password(self, new_password: str) -> Dict: + '''Thange the password of the curent user''' response = self._prepare_request('POST', 'users/change_pw', data={'password': new_password}) return self._check_json_response(response)