From ca19e4590552614417cbdc0261e6d6236032ed34 Mon Sep 17 00:00:00 2001 From: halo Date: Fri, 1 Jul 2022 21:36:41 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=88=AA=E5=8F=96?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/backends/command/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/terminal/backends/command/serializers.py b/apps/terminal/backends/command/serializers.py index 15efe6113..83b9d55d2 100644 --- a/apps/terminal/backends/command/serializers.py +++ b/apps/terminal/backends/command/serializers.py @@ -47,5 +47,5 @@ class SessionCommandSerializer(SimpleSessionCommandSerializer): def validate_system_user(self, value): if len(value) > 64: - value = pretty_string(value, 32) + value = pretty_string(value, 64) return value