Merge pull request #1130 from DeterminateSystems/prompt-password

hydra-create-user: support prompting for password
This commit is contained in:
Graham Christensen
2022-01-21 15:38:39 -05:00
committed by GitHub
9 changed files with 112 additions and 21 deletions

View File

@ -13,7 +13,7 @@
* Creating a user:
$ hydra-create-user root --email-address 'e.dolstra@tudelft.nl' \
--password-hash "$(echo -n foobar | sha1sum | cut -c1-40)"
--password-prompt
(Replace "foobar" with the desired password.)

View File

@ -114,7 +114,7 @@ This can be done using the command `hydra-create-user`:
```console
$ hydra-create-user alice --full-name 'Alice Q. User' \
--email-address 'alice@example.org' --password foobar --role admin
--email-address 'alice@example.org' --password-prompt --role admin
```
Additional users can be created through the web interface.