From aa72c31626ac564f230fd447b249c9b3afdb53db Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 16 May 2021 13:32:41 +0300 Subject: [PATCH] Updated Forgot Password (markdown) --- Forgot-Password.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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