From bb8358c5c8d8d5fed655e6bec20f0663f6331b78 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hedgedoc/README.org diff --git a/hedgedoc/README.org b/hedgedoc/README.org new file mode 100644 index 0000000..3cac9da --- /dev/null +++ b/hedgedoc/README.org @@ -0,0 +1,20 @@ +# -*- ispell-local-dictionary: "english" -*- + +* How to reset password version 1.X : + +#+begin_src sh +## 1. Access the server and then enter the container +docker exec -ti hedgedoc sh + +## 2. use the script to manage users ./bin/manage_users + +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_src +