Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

management: Rename clear_auth_rate_limit_history command.

Mateusz Mandera7ef1a024db43
diff --git a/zerver/management/commands/clear_auth_rate_limit_history.py b/zerver/management/commands/reset_authentication_attempt_count.py
similarity index 90%
rename from zerver/management/commands/clear_auth_rate_limit_history.py
rename to zerver/management/commands/reset_authentication_attempt_count.py
index 48fe6614c00..1fbd21dae2c 100644
--- a/zerver/management/commands/clear_auth_rate_limit_history.py
+++ b/zerver/management/commands/reset_authentication_attempt_count.py
@@ -15,7 +15,7 @@ class Command(ZulipBaseCommand):
def handle(self, *args: Any, **options: Any) -> None:
if not options["username"]:
- self.print_help("./manage.py", "clear_auth_rate_limit_history")
+ self.print_help("./manage.py", "reset_authentication_attempt_count")
raise CommandError("Please enter a username")
username = options["username"]