From 809d563ab9457093326d2ca63423f1a7889e52b4 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sun, 3 Nov 2024 21:27:46 +0000 Subject: [PATCH] Note about --json --- modules/ROOT/pages/security/local.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/pages/security/local.adoc b/modules/ROOT/pages/security/local.adoc index a6fd18721..9b7a5fe45 100644 --- a/modules/ROOT/pages/security/local.adoc +++ b/modules/ROOT/pages/security/local.adoc @@ -53,6 +53,8 @@ You can see from the example above that the config contains a single user called curl -sS --json '{"password": "myPassword"}' http://olivetin.example.com:1337/api/PasswordHash ``` +NOTE: Curl 7.82 added support for the `--json` option, if you are using an older version of curl, see link:https://github.com/OliveTin/OliveTin/issues/462[this issue]. + This will return a output like this, you can then copy and paste this hash into your config.yaml file; ```