From 3909894358748a6d0eb5a59d7b5c68c1c18559a4 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 18 Jun 2023 05:42:36 +0300 Subject: [PATCH] Updated Forgot Password (markdown) --- Forgot-Password.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Forgot-Password.md b/Forgot-Password.md index 2c66525..6e3081b 100644 --- a/Forgot-Password.md +++ b/Forgot-Password.md @@ -84,14 +84,31 @@ $set: { “members.$.isAdmin”: true }, ## Docker +1. Change to inside of wekan database Docker container: ``` docker exec -it wekan-db bash - +``` +2. Start MongoDB Shell +``` /bin/mongosh - +``` +3. List databases +``` +show dbs +``` +4. Change to wekan database +``` use wekan ``` -If you have disabled new user registration at Admin Panel, you can enable it, and create new user your https://wekan.example.com/sign-up : +5. Show collections/tables +``` +show collections +``` +6. Count users +``` +db.users.count() +``` +7. If you have disabled new user registration at Admin Panel, you can enable it, and create new user your https://wekan.example.com/sign-up : ``` db.settings.update({},{$set: {"disableRegistration":false}}) ```