From 7d479a814870e61dee8fd7097508e0a06f2107ca Mon Sep 17 00:00:00 2001 From: Jayram Date: Mon, 8 Feb 2021 19:19:27 +0530 Subject: [PATCH] docs: add annotations for MAX_FAILED_LOGIN_ATTEMPTS_ALLOWED settings --- lms/envs/common.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index bf00176f76..4149381424 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3386,6 +3386,11 @@ FILE_UPLOAD_STORAGE_BUCKET_NAME = 'SET-ME-PLEASE (ex. bucket-name)' FILE_UPLOAD_STORAGE_PREFIX = 'submissions_attachments' ##### ACCOUNT LOCKOUT DEFAULT PARAMETERS ##### +# .. setting_name: MAX_FAILED_LOGIN_ATTEMPTS_ALLOWED +# .. setting_default: 6 +# .. setting_description: Specifies the maximum failed login attempts allowed to users. Once the user reaches this +# failure threshold then the account will be locked for a configurable amount of seconds (30 minutes) which will +# prevent additional login attempts until this time period has passed. MAX_FAILED_LOGIN_ATTEMPTS_ALLOWED = 6 MAX_FAILED_LOGIN_ATTEMPTS_LOCKOUT_PERIOD_SECS = 30 * 60