perf: 优化导入导出

This commit is contained in:
ibuler
2023-03-17 18:44:21 +08:00
parent cad6fffd74
commit 12db64ea18
5 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ class AuthValidateMixin(serializers.Serializer):
choices=SecretType.choices, required=True, label=_('Secret type')
)
secret = EncryptedField(
label=_('Secret/Password'), required=False, max_length=40960, allow_blank=True,
label=_('Secret'), required=False, max_length=40960, allow_blank=True,
allow_null=True, write_only=True,
)
passphrase = serializers.CharField(