From 7ef1a024db4389cb5807840d40726fb9b64e5631 Mon Sep 17 00:00:00 2001 From: Mateusz Mandera Date: Mon, 23 Aug 2021 18:55:07 +0200 Subject: [PATCH] management: Rename clear_auth_rate_limit_history command. --- ...e_limit_history.py => reset_authentication_attempt_count.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename zerver/management/commands/{clear_auth_rate_limit_history.py => reset_authentication_attempt_count.py} (90%) 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 48fe6614c0..1fbd21dae2 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"]