Add the --admin option

This commit is contained in:
Cku 2020-06-03 13:40:31 +02:00
parent abb1ac98a7
commit 5829d240fa

View File

@ -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