Updated Forgot Password (markdown)

Lauri Ojansivu 2023-06-18 05:43:45 +03:00
parent 3909894358
commit a1c2613c66

@ -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