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