From 48cb07a533a85ebc6cea90b8641e8d99ce7c22d8 Mon Sep 17 00:00:00 2001 From: Yalh Date: Fri, 25 Jan 2019 12:27:59 +0100 Subject: [PATCH] update README.md --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a187191..dcc8303 100644 --- a/README.md +++ b/README.md @@ -51,20 +51,17 @@ How to configure this app: by an admin panel, a plain file with SSH, or any othe ## Admin Tasks Go to **cd /var/www/pleroma/pleroma**. -### Register a User +### Adding users **Run:** - $ sudo -u pleroma MIX_ENV=prod mix register_user - -The **name** appears on **statuses**, while the **nickname** corresponds to the **user**, e.g. @nickname@instance.tld - + $ sudo -u pleroma MIX_ENV=prod mix pleroma.user new ### Password reset **Run:** - $ MIX_ENV=prod mix generate_password_reset username + $ MIX_ENV=prod mix pleroma.user reset_password This will generate a **password reset link** that you can then send to the user. @@ -75,9 +72,9 @@ You can make users **moderators**. They will then be able to **delete any post** **Run:** - $ MIX_ENV=prod mix set_moderator username [true|false] + $ MIX_ENV=prod mix pleroma.user set --[no-]admin -**True** option will **make the user moderator** and **flase** will **take away the moderator privileges** from the user. +**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user. ## Documentation