auth: Fix error on startup in django-two-factor-auth in Django 2.1+.

https://github.com/Bouke/django-two-factor-auth/issues/297
This setting was added in 1.9 version of the app and can be used
harmleslly in our current Django 1.11-based code and will prevent an
error on Django 2.1+ when we move there.
This commit is contained in:
Mateusz Mandera 2020-02-04 15:27:19 +01:00 committed by Tim Abbott
parent 0e7c97378e
commit 6a7cdfa2c1
1 changed files with 2 additions and 0 deletions

View File

@ -1064,3 +1064,5 @@ CROSS_REALM_BOT_EMAILS = {
}
THUMBOR_KEY = get_secret('thumbor_key')
TWO_FACTOR_PATCH_ADMIN = False