diff --git a/Forgot-Password.md b/Forgot-Password.md index 37a7b8f..c7f0b90 100644 --- a/Forgot-Password.md +++ b/Forgot-Password.md @@ -18,6 +18,14 @@ 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: +``` +db.AccountsLockout.Connections.find() +``` +If there are, delete all those login preventions: +``` +db.AccountsLockout.Connections.deleteMany({}) +``` Then exit: ``` exit @@ -42,6 +50,14 @@ 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: +``` +db.AccountsLockout.Connections.find() +``` +If there are, delete all those login preventions: +``` +db.AccountsLockout.Connections.deleteMany({}) +``` Then exit: ``` exit @@ -72,6 +88,14 @@ 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: +``` +db.AccountsLockout.Connections.find() +``` +If there are, delete all those login preventions: +``` +db.AccountsLockout.Connections.deleteMany({}) +``` Then exit: ``` exit