Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
change_password: Set requires_system_checks to a list.
Anders Kaseorg6e00d6f97a98
diff --git a/zerver/management/commands/change_password.py b/zerver/management/commands/change_password.pyindex c3d4eec48eb..843dc98f44b 100644--- a/zerver/management/commands/change_password.py+++ b/zerver/management/commands/change_password.py@@ -1,6 +1,6 @@import getpassfrom argparse import ArgumentParser-from typing import Any+from typing import Any, Listfrom django.contrib.auth.password_validation import validate_passwordfrom django.core.exceptions import ValidationError@@ -19,7 +19,7 @@ class Command(ZulipBaseCommand):help = "Change a user's password."requires_migrations_checks = True- requires_system_checks = False+ requires_system_checks: List[str] = []def _get_pass(self, prompt: str = "Password: ") -> str:p = getpass.getpass(prompt=prompt)