cli: hashedPassword -> hashed-password (#2454)
Capital letters in the CLI are evil. cc @code-asher
This commit is contained in:
@ -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
|
||||
|
@ -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?
|
||||
|
||||
|
Reference in New Issue
Block a user