mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 00:44:48 +00:00
perf: 去掉 debug
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user