A Django app for otp model.
Project description
Contains otp model
Detailed documentation is in the “docs” directory.
Quick start
Add “otp” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'otp', ]
In settings.py add
# Time after which new OTP can be requested after exceeding max incorrect attempts OTP_BLOCK_WINDOW_MIN = int(os.environ.get(‘OTP_BLOCK_WINDOW_MIN’, 15)) # Or add your own time
# max wrong attempts allowed for an otp OTP_REMAINING_ATTEMPTS = int(os.environ.get(‘OTP_REMAINING_ATTEMPTS’, 5)) # Or add your attempts
Run python manage.py migrate to create the otp models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
incore-otp-1.0.tar.gz
(3.9 kB
view hashes)