mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-23 13:37:31 +00:00
perf: 去掉 debug
This commit is contained in:
parent
b5714f7e14
commit
d7ac08f6d9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user