summaryrefslogtreecommitdiff
path: root/doc/cli.markdown
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-12 22:26:44 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-12 22:26:44 -0400
commit63387fa9cfdb8bd20356fce9729a5a49a9f78bb9 (patch)
treedb43a63ce2d2bffbd1f7d7142f6928e5d5958b97 /doc/cli.markdown
parentaf7027ea31a691e2eea6d813f6aa3cf08f8b9d0a (diff)
Added command line utility to reset user password and to disable 2FA
Diffstat (limited to 'doc/cli.markdown')
-rw-r--r--doc/cli.markdown17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/cli.markdown b/doc/cli.markdown
index 9334d84b..d38d8b53 100644
--- a/doc/cli.markdown
+++ b/doc/cli.markdown
@@ -45,6 +45,9 @@ Available commands:
projects:daily-stats Calculate daily statistics for all projects
trigger
trigger:tasks Trigger scheduler event for all tasks
+ user
+ user:reset-2fa Remove two-factor authentication for a user
+ user:reset-password Change user password
```
Available commands
@@ -147,3 +150,17 @@ This command send a "daily cronjob event" to all open tasks of each project.
./kanboard trigger:tasks
Trigger task event: project_id=2, nb_tasks=1
```
+
+### Reset user password
+
+```bash
+./kanboard user:reset-password my_user
+```
+
+You will be prompted for a password and confirmation. Characters are not printed to the screen.
+
+### Remove two-factor authentication for a user
+
+```bash
+./kanboard user:reset-2fa my_user
+```