settings: Add two_factor.plugins.phonenumber to INSTALLED_APPS.

I missed this in commit feff1d0411
(#22383) for upgrading to django-two-factor-auth 1.14.0.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-07-06 16:12:49 -07:00 committed by Tim Abbott
parent 3bc1356f39
commit 2439914a50
2 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,7 @@ def sanity_check_output(data: TableData) -> None:
+ list(apps.get_app_config("django_otp").get_models(include_auto_created=True)) + list(apps.get_app_config("django_otp").get_models(include_auto_created=True))
+ list(apps.get_app_config("otp_static").get_models(include_auto_created=True)) + list(apps.get_app_config("otp_static").get_models(include_auto_created=True))
+ list(apps.get_app_config("otp_totp").get_models(include_auto_created=True)) + list(apps.get_app_config("otp_totp").get_models(include_auto_created=True))
+ list(apps.get_app_config("phonenumber").get_models(include_auto_created=True))
+ list(apps.get_app_config("social_django").get_models(include_auto_created=True)) + list(apps.get_app_config("social_django").get_models(include_auto_created=True))
+ list(apps.get_app_config("two_factor").get_models(include_auto_created=True)) + list(apps.get_app_config("two_factor").get_models(include_auto_created=True))
+ list(apps.get_app_config("zerver").get_models(include_auto_created=True)) + list(apps.get_app_config("zerver").get_models(include_auto_created=True))

View File

@ -218,6 +218,7 @@ INSTALLED_APPS = [
"django_otp.plugins.otp_static", "django_otp.plugins.otp_static",
"django_otp.plugins.otp_totp", "django_otp.plugins.otp_totp",
"two_factor", "two_factor",
"two_factor.plugins.phonenumber",
] ]
if USING_PGROONGA: if USING_PGROONGA:
INSTALLED_APPS += ["pgroonga"] INSTALLED_APPS += ["pgroonga"]