def change_password(self, new_password, email):
        """
        Changes the login password

        :param new_password: The new login password to set for the account
        :param email: The current email of the account
        """
        log.info("[+] Changing the password of the account")
        return self._send_xmpp_element(account.ChangePasswordRequest(self.password, new_password, email, self.username))
def change_password ( self , new_password , email ) : log . info ( "[+] Changing the password of the account" ) return self . _send_xmpp_element ( account . ChangePasswordRequest ( self . password , new_password , email , self . username ) )
Changes the login password

        :param new_password: The new login password to set for the account
        :param email: The current email of the account