Docs: use hydra-create-user --password-prompt

This commit is contained in:
Graham Christensen 2022-01-21 13:05:12 -05:00
parent 0eeced7f08
commit da1af1ce68
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ Once the Hydra service has been configured as above and activate you should alre
```
$ su - hydra
$ hydra-create-user <USER> --full-name '<NAME>' \
--email-address '<EMAIL>' --password <PASSWORD> --role admin
--email-address '<EMAIL>' --password-prompt --role admin
```
Afterwards you should be able to log by clicking on "_Sign In_" on the top right of the web interface using the credentials specified by `hydra-create-user`. Once you are logged in you can click "_Admin -> Create Project_" to configure your first project.

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.