Skip to content

Commit

Permalink
Include the explanation of debug mode (#31)
Browse files Browse the repository at this point in the history
To add details regarding debug mode and the implication to JWT authorization when debug mode is set to true.
  • Loading branch information
azzuwan authored and avelino committed Jul 4, 2019
1 parent 4fa6afe commit 220e769
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/configurations/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Optionally the pREST can be configured by TOML file.
```toml
migrations = "./migrations"

# debug = true
# enabling debug mode will disable JWT authorization

[http]
port = 6000
# Port 6000 is blocked on windows. You must change to 8080 or any unblocked port
Expand All @@ -55,7 +58,7 @@ sslrootcert = "./PATH"

## Authorization

- JWT middleware is enabled by default. To disable JWT need to set default to false.
- JWT middleware is enabled by default. To disable JWT need to set default to false. Enabling debug mode will also disable it.

```toml
[jwt]
Expand Down

0 comments on commit 220e769

Please sign in to comment.