Skip to content

Commit

Permalink
Trim newline when hashing token
Browse files Browse the repository at this point in the history
  • Loading branch information
Palladinium committed Jan 20, 2024
1 parent 62d4960 commit adb98d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type = "none"
## stores a SHA-512 hash of it.
##
## For example, on Linux you can generate a token and hash like this:
## `openssl rand -hex 64 | tee token | sha512sum | awk '{print $1}' > token_hash`
## `openssl rand -hex 64 | tee token | tr -d '\n' | sha512sum | awk '{print $1}' > token_hash`

#type = "token"
#token_hash = "a very secure token hash"
Expand Down

0 comments on commit adb98d5

Please sign in to comment.