From a1c2613c66f380aedb244d93a426b463c8214ef2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 18 Jun 2023 05:43:45 +0300 Subject: [PATCH] Updated Forgot Password (markdown) --- Forgot-Password.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Forgot-Password.md b/Forgot-Password.md index 6e3081b..61dbcfc 100644 --- a/Forgot-Password.md +++ b/Forgot-Password.md @@ -112,27 +112,27 @@ db.users.count() ``` db.settings.update({},{$set: {"disableRegistration":false}}) ``` -Find what users there are: +8. Find what users there are: ``` db.users.find() ``` -Set some user as admin: +9. Set some user as admin: ``` db.users.update({username:'admin-username-here'},{$set:{isAdmin:true}}) ``` -Check are there any failed logins with wrong password, that brute force login prevention has denied login: +10. Check are there any failed logins with wrong password, that brute force login prevention has denied login: ``` db.AccountsLockout.Connections.find() ``` -If there are, delete all those login preventions: +11. If there are, delete all those login preventions: ``` db.AccountsLockout.Connections.deleteMany({}) ``` -Then exit: +12. Then exit: ``` exit ``` -Then login to Wekan and change any users passwords at `Admin Panel / People / People`. +13. Then login to Wekan and change any users passwords at `Admin Panel / People / People`. More info: - https://github.com/wekan/wekan/wiki/Backup