Reduce max concurrent 2 factor codes

I was doing some analysis and saw that in the last 24 hours the most
codes that anyone had was in a 15 minute window was 3.

So I think we can safely reduce this to 5 to get a bit more security
with enough headroom to not have any negative impact to the user.
This commit is contained in:
Chris Hill-Scott
2021-03-24 15:35:16 +00:00
parent b3597a2e54
commit 786893d920
2 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ class Config(object):
API_PAGE_SIZE = 250
TEST_MESSAGE_FILENAME = 'Test message'
ONE_OFF_MESSAGE_FILENAME = 'Report'
MAX_VERIFY_CODE_COUNT = 10
MAX_VERIFY_CODE_COUNT = 5
# be careful increasing this size without being sure that we won't see slowness in pysftp
MAX_LETTER_PDF_ZIP_FILESIZE = 40 * 1024 * 1024 # 40mb