mirror of https://github.com/jumpserver/jumpserver
perf: 去掉 debug
parent
b5714f7e14
commit
d7ac08f6d9
|
@ -19,7 +19,6 @@ class ConfirmType(TextChoices):
|
||||||
def get_can_confirm_types(cls, confirm_type):
|
def get_can_confirm_types(cls, confirm_type):
|
||||||
start = cls.values.index(confirm_type)
|
start = cls.values.index(confirm_type)
|
||||||
types = cls.values[start:]
|
types = cls.values[start:]
|
||||||
types = [tp for tp in types if tp != 'password']
|
|
||||||
types.reverse()
|
types.reverse()
|
||||||
return types
|
return types
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue