Archived
1
0

cli: hashedPassword -> hashed-password (#2454)

Capital letters in the CLI are evil.

cc @code-asher
This commit is contained in:
Anmol Sethi
2020-12-18 12:20:38 -05:00
committed by GitHub
parent 386af14a77
commit 60c270aef5
7 changed files with 14 additions and 14 deletions

View File

@ -163,7 +163,7 @@ Again, please follow [./guide.md](./guide.md) for our recommendations on setting
## Can I store my password hashed?
Yes you can! Use `hashedPassword` instead of `password`. Generate the hash with:
Yes you can! Use `hashed-password` instead of `password`. Generate the hash with:
```
echo "thisismypassword" | sha256sum | cut -d' ' -f1

View File

@ -297,8 +297,8 @@ and then restart `code-server` with:
sudo systemctl restart code-server@$USER
```
Alternatively, you can specify the SHA-256 of your password at the `hashedPassword` field in the config file.
The `hashedPassword` field takes precedence over `password`.
Alternatively, you can specify the SHA-256 of your password at the `hashed-password` field in the config file.
The `hashed-password` field takes precedence over `password`.
### How do I securely access development web services?