From 940b9cf34a941912528a618d838a4e8c2a9aa693 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 13 Dec 2023 19:30:23 +0100 Subject: [PATCH] Fixes #684 - Disable OTP_EMAIL_COOLDOWN_DURATION during tests This setting/functionality was introduced in django-otp 1.3.0 --- tests/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/settings.py b/tests/settings.py index c5e09e7b2..5e49eb5cb 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -101,3 +101,5 @@ TWO_FACTOR_PHONE_THROTTLE_FACTOR = 10 OTP_TOTP_THROTTLE_FACTOR = 10 + +OTP_EMAIL_COOLDOWN_DURATION = 0