perf: account translate (#12723)

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
fit2bot
2024-02-28 17:32:29 +08:00
committed by GitHub
parent d46237f1bf
commit 82aa4a65ab
10 changed files with 233 additions and 225 deletions

View File

@@ -26,7 +26,7 @@ class TerminalSettingSerializer(serializers.Serializer):
)
TERMINAL_PASSWORD_AUTH = serializers.BooleanField(required=False, label=_("Password auth"))
TERMINAL_PUBLIC_KEY_AUTH = serializers.BooleanField(
required=False, label=_("public key auth"),
required=False, label=_("Public key auth"),
help_text=_('Information: If use other auth method, like AD/LDAP, you should disable this to '
'avoid being able to log in after deleting')
)