Add the --admin option
This commit is contained in:
parent
abb1ac98a7
commit
5829d240fa
|
@ -62,7 +62,7 @@ Run Mobilizon:
|
||||||
* Generate your first user with the `mix mobilizon.users.new` task
|
* Generate your first user with the `mix mobilizon.users.new` task
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mix mobilizon.users.new john.doe@localhost.com
|
$ mix mobilizon.users.new john.doe@localhost.com --admin
|
||||||
An user has been created with the following information:
|
An user has been created with the following information:
|
||||||
- email: john.doe@localhost.com
|
- email: john.doe@localhost.com
|
||||||
- password: r/EKpKr5o7ngQY+r
|
- password: r/EKpKr5o7ngQY+r
|
||||||
|
@ -78,4 +78,4 @@ and see the website (server *and* client) in action.
|
||||||
|
|
||||||
### Issues with argon2 when creating users.
|
### Issues with argon2 when creating users.
|
||||||
|
|
||||||
This is because you installed deps through Docker and are now using Mobilizon without it, or the other way around. Just `rm -r deps/argon2_elixir` and trigger `mix deps.get` again.
|
This is because you installed deps through Docker and are now using Mobilizon without it, or the other way around. Just `rm -r deps/argon2_elixir` and trigger `mix deps.get` again.
|
||||||
|
|
Loading…
Reference in a new issue