From f832fee6306c20710020bd0964a20cac32c45c11 Mon Sep 17 00:00:00 2001 From: Boris Gallet Date: Mon, 5 Feb 2024 10:48:48 +0100 Subject: [PATCH] new: doc: [Hedgedoc] add README to manage users with cli tool --- hedgedoc/README.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hedgedoc/README.org diff --git a/hedgedoc/README.org b/hedgedoc/README.org new file mode 100644 index 0000000..63aa422 --- /dev/null +++ b/hedgedoc/README.org @@ -0,0 +1,22 @@ +# -*- ispell-local-dictionary: "english" -*- + +* Usage + +** How to manage users + +This allows to reset password for users. + +From container (using `docker exec -ti MY_CONTAINER sh`), use +`/hedgedoc/bin/manage_users` command (it is not in $PATH). + +#+begin_example +Command-line utility to create users for email-signin. + +Usage: bin/manage_users [--pass password] (--add | --del) user-email + Options: + --add Add user with the specified user-email + --del Delete user with specified user-email + --reset Reset user password with specified user-email + --pass Use password from cmdline rather than prompting +#+end_example +