Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
default_settings: Weaken CUSTOM_AUTHENTICATION_WRAPPER_FUNCTION type.
Anders Kaseorg166c233b2a74
diff --git a/zproject/default_settings.py b/zproject/default_settings.pyindex edc02eff8f2..ac98654c67f 100644--- a/zproject/default_settings.py+++ b/zproject/default_settings.py@@ -12,8 +12,6 @@ from .config import DEVELOPMENT, PRODUCTION, get_secretif TYPE_CHECKING:from django_auth_ldap.config import LDAPSearch- from zerver.models.users import UserProfile-if PRODUCTION: # nocoveragefrom .prod_settings import EXTERNAL_HOST, ZULIP_ADMINISTRATORelse:@@ -634,4 +632,4 @@ CAN_ACCESS_ALL_USERS_GROUP_LIMITS_PRESENCE = False# in some places through the codebase.SIGNED_ACCESS_TOKEN_VALIDITY_IN_SECONDS = 60-CUSTOM_AUTHENTICATION_WRAPPER_FUNCTION: Optional[Callable[..., Optional["UserProfile"]]] = None+CUSTOM_AUTHENTICATION_WRAPPER_FUNCTION: Optional[Callable[..., Any]] = None