summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/user.md
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-09-25 11:45:51 -0500
committerMark Felder <feld@FreeBSD.org>2020-09-25 11:45:51 -0500
commitdcdf75fbac41823cceb3bae9d093ccfbfe46f7a4 (patch)
treefe835f406b4a9695a26595206570a213385253b1 /docs/administration/CLI_tasks/user.md
parent2bf2c68dee1385cba906fe95bd2af3afd2a341b9 (diff)
parent1672d8b37c6a218071ccfdc95844010ba146e4c6 (diff)
downloadpleroma-dcdf75fbac41823cceb3bae9d093ccfbfe46f7a4.tar.gz
pleroma-dcdf75fbac41823cceb3bae9d093ccfbfe46f7a4.zip
Merge branch 'develop' into fix/deprecation-warning-welcome-message
Diffstat (limited to 'docs/administration/CLI_tasks/user.md')
-rw-r--r--docs/administration/CLI_tasks/user.md33
1 files changed, 32 insertions, 1 deletions
diff --git a/docs/administration/CLI_tasks/user.md b/docs/administration/CLI_tasks/user.md
index 3e7f028ba..c64ed4f22 100644
--- a/docs/administration/CLI_tasks/user.md
+++ b/docs/administration/CLI_tasks/user.md
@@ -224,9 +224,10 @@
```
### Options
+- `--admin`/`--no-admin` - whether the user should be an admin
+- `--confirmed`/`--no-confirmed` - whether the user account is confirmed
- `--locked`/`--no-locked` - whether the user should be locked
- `--moderator`/`--no-moderator` - whether the user should be a moderator
-- `--admin`/`--no-admin` - whether the user should be an admin
## Add tags to a user
@@ -271,3 +272,33 @@
```sh
mix pleroma.user toggle_confirmed <nickname>
```
+
+## Set confirmation status for all regular active users
+*Admins and moderators are excluded*
+
+=== "OTP"
+
+ ```sh
+ ./bin/pleroma_ctl user confirm_all
+ ```
+
+=== "From Source"
+
+ ```sh
+ mix pleroma.user confirm_all
+ ```
+
+## Revoke confirmation status for all regular active users
+*Admins and moderators are excluded*
+
+=== "OTP"
+
+ ```sh
+ ./bin/pleroma_ctl user unconfirm_all
+ ```
+
+=== "From Source"
+
+ ```sh
+ mix pleroma.user unconfirm_all
+ ```