From 6a7cdfa2c13232a8ef4b3d55b52c54d3f42c5da2 Mon Sep 17 00:00:00 2001 From: Mateusz Mandera Date: Tue, 4 Feb 2020 15:27:19 +0100 Subject: [PATCH] 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. --- zproject/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zproject/settings.py b/zproject/settings.py index c2f178bfd1..81ddc9c128 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -1064,3 +1064,5 @@ CROSS_REALM_BOT_EMAILS = { } THUMBOR_KEY = get_secret('thumbor_key') + +TWO_FACTOR_PATCH_ADMIN = False