mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Update DISCLAIMER.md
This commit is contained in:
parent
36d4ffbb43
commit
0bf7521590
1 changed files with 4 additions and 4 deletions
|
@ -6,19 +6,19 @@
|
|||
* LDAP supported but HTTP auth not.
|
||||
|
||||
## Admin Tasks
|
||||
Go to **cd /var/www/pleroma/pleroma**.
|
||||
Go to **cd /var/www/pleroma/live**.
|
||||
|
||||
### Adding users
|
||||
|
||||
**Run:**
|
||||
|
||||
$ ( cd /var/www/pleroma/pleroma && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user new <NICKNAME> <EMAIL> )
|
||||
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user new <NICKNAME> <EMAIL> )
|
||||
|
||||
### Password reset
|
||||
|
||||
**Run:**
|
||||
|
||||
$ ( cd /var/www/pleroma/pleroma && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user reset_password <NICKNAME> )
|
||||
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user reset_password <NICKNAME> )
|
||||
|
||||
This will generate a **password reset link** that you can then send to the user.
|
||||
|
||||
|
@ -28,6 +28,6 @@ You can make users **moderators**. They will then be able to **delete any post**
|
|||
|
||||
**Run:**
|
||||
|
||||
$ ( cd /var/www/pleroma/pleroma && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user set <NICKNAME> --[no-]admin )
|
||||
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user set <NICKNAME> --[no-]admin )
|
||||
|
||||
**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.
|
||||
|
|
Loading…
Add table
Reference in a new issue