Skip to content

Commit

Permalink
Note about --json
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Nov 3, 2024
1 parent 9a3e7d3 commit 809d563
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/ROOT/pages/security/local.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

```
Expand Down

0 comments on commit 809d563

Please sign in to comment.