def change_password(self, password):
        """
        Change a user's password
        :param user:
        :param password:
        :param password_confirm:
        :return:
        """

        def cb():
            if not utils.is_password_valid(password):
                raise exceptions.AuthError("Invalid Password")
            self.user.change_password(password)
            return True

        return signals.user_update(self, ACTIONS["PASSWORD"], cb)
Change a user's password
        :param user:
        :param password:
        :param password_confirm:
        :return: