From c41fdf17865b509b9172b2308ce8c4b3b2e8d10e Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 10 Nov 2023 14:50:06 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4=20secret=20=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E4=B8=BA32=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/models/access_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/authentication/models/access_key.py b/apps/authentication/models/access_key.py index 51e5b8849..725bc9758 100644 --- a/apps/authentication/models/access_key.py +++ b/apps/authentication/models/access_key.py @@ -9,7 +9,7 @@ from common.utils.random import random_string def default_secret(): - return random_string(36) + return random_string(32) def defatult_ip_group():