From d7ac08f6d9c7e29bb4cfa9ddef9826f7f8e18ec6 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 13 Oct 2023 16:36:23 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8E=BB=E6=8E=89=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/const.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/authentication/const.py b/apps/authentication/const.py index bef4841b6..1e06a4d35 100644 --- a/apps/authentication/const.py +++ b/apps/authentication/const.py @@ -19,7 +19,6 @@ class ConfirmType(TextChoices): def get_can_confirm_types(cls, confirm_type): start = cls.values.index(confirm_type) types = cls.values[start:] - types = [tp for tp in types if tp != 'password'] types.reverse() return types