1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

Use pyotp for validating TOTP codes

* also implements resynchronisation support via `pyotp`'s `valid_window option
This commit is contained in:
Felix Spöttel
2020-09-02 19:12:15 +02:00
parent 3c3683429b
commit f205c48564
2 changed files with 7 additions and 25 deletions

View File

@@ -50,7 +50,7 @@ hide_output $venv/bin/pip install --upgrade pip
hide_output $venv/bin/pip install --upgrade \
rtyaml "email_validator>=1.0.0" "exclusiveprocess" \
flask dnspython python-dateutil \
qrcode[pil] \
qrcode[pil] pyotp \
"idna>=2.0.0" "cryptography==2.2.2" boto psutil postfix-mta-sts-resolver
# CONFIGURATION