projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/update-welcome-setting-in-description' into 'develop'
[akkoma]
/
docs
/
administration
/
CLI_tasks
/
user.md
diff --git
a/docs/administration/CLI_tasks/user.md
b/docs/administration/CLI_tasks/user.md
index 64385ad28c3167157288fc32313aa6e1fa10cecd..3b4c421a7d0871af8b2486e1665e6d9f9b4556a2 100644
(file)
--- a/
docs/administration/CLI_tasks/user.md
+++ b/
docs/administration/CLI_tasks/user.md
@@
-5,11
+5,11
@@
## Create a user
```sh tab="OTP"
## Create a user
```sh tab="OTP"
-./bin/pleroma_ctl user new <nickname> <email> [
<options>
]
+./bin/pleroma_ctl user new <nickname> <email> [
option ...
]
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user new <nickname> <email> [
<options>
]
+mix pleroma.user new <nickname> <email> [
option ...
]
```
```
@@
-33,11
+33,11
@@
mix pleroma.user list
## Generate an invite link
```sh tab="OTP"
## Generate an invite link
```sh tab="OTP"
- ./bin/pleroma_ctl user invite [
<options>
]
+ ./bin/pleroma_ctl user invite [
option ...
]
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user invite [
<options>
]
+mix pleroma.user invite [
option ...
]
```
```
@@
-57,11
+57,11
@@
mix pleroma.user invites
## Revoke invite
```sh tab="OTP"
## Revoke invite
```sh tab="OTP"
- ./bin/pleroma_ctl user revoke_invite <token
_or_id
>
+ ./bin/pleroma_ctl user revoke_invite <token>
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user revoke_invite <token
_or_id
>
+mix pleroma.user revoke_invite <token>
```
```
@@
-95,33
+95,33
@@
mix pleroma.user sign_out <nickname>
```
```
-## Deactivate or activate a user
+## Deactivate or activate a user
```sh tab="OTP"
```sh tab="OTP"
- ./bin/pleroma_ctl user toggle_activated <nickname>
+ ./bin/pleroma_ctl user toggle_activated <nickname>
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user toggle_activated <nickname>
+mix pleroma.user toggle_activated <nickname>
```
```
-##
Unsubscribe local users from a user and deactivate
the user
+##
Deactivate a user and unsubscribes local users from
the user
```sh tab="OTP"
```sh tab="OTP"
- ./bin/pleroma_ctl user
unsubscrib
e NICKNAME
+ ./bin/pleroma_ctl user
deactivat
e NICKNAME
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user
unsubscrib
e NICKNAME
+mix pleroma.user
deactivat
e NICKNAME
```
```
-##
Unsubscribe local users from an instance and deactivate all account
s on it
+##
Deactivate all accounts from an instance and unsubscribe local user
s on it
```sh tab="OTP"
```sh tab="OTP"
- ./bin/pleroma_ctl user
unsubscrib
e_all_from_instance <instance>
+ ./bin/pleroma_ctl user
deactivat
e_all_from_instance <instance>
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user
unsubscrib
e_all_from_instance <instance>
+mix pleroma.user
deactivat
e_all_from_instance <instance>
```
```
@@
-135,13
+135,23
@@
mix pleroma.user reset_password <nickname>
```
```
+## Disable Multi Factor Authentication (MFA/2FA) for a user
+```sh tab="OTP"
+ ./bin/pleroma_ctl user reset_mfa <nickname>
+```
+
+```sh tab="From Source"
+mix pleroma.user reset_mfa <nickname>
+```
+
+
## Set the value of the given user's settings
```sh tab="OTP"
## Set the value of the given user's settings
```sh tab="OTP"
- ./bin/pleroma_ctl user set <nickname> [
<options>
]
+ ./bin/pleroma_ctl user set <nickname> [
option ...
]
```
```sh tab="From Source"
```
```sh tab="From Source"
-mix pleroma.user set <nickname> [
<options>
]
+mix pleroma.user set <nickname> [
option ...
]
```
### Options
```
### Options
@@
-177,4
+187,3
@@
mix pleroma.user untag <nickname> <tags>
```sh tab="From Source"
mix pleroma.user toggle_confirmed <nickname>
```
```sh tab="From Source"
mix pleroma.user toggle_confirmed <nickname>
```
-