diff --git a/salt/common/tools/sbin/so-thehive-user-update b/salt/common/tools/sbin/so-thehive-user-update index 7378d0934..6df199f6a 100755 --- a/salt/common/tools/sbin/so-thehive-user-update +++ b/salt/common/tools/sbin/so-thehive-user-update @@ -49,9 +49,9 @@ fi # Change password for user in TheHive resp=$(curl -sk -XPOST -H "Authorization: Bearer $THEHIVE_KEY" -H "Content-Type: application/json" -L "https://$THEHVIE_API_URL/user/${THEHIVE_USER}/password/set" -d "{\"password\" : \"$THEHIVE_PASS\"}") if [[ -z "$resp" ]]; then - echo "Successfully changed TheHive user password" + echo "Successfully updated TheHive user password" else - echo "Changing TheHive user password failed" + echo "Unable to update TheHive user password" echo $resp exit 2 fi