From c2b1a141c2aa917a81950af5a42069f8a217cb5d Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 19 Oct 2023 16:26:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E6=9C=80?= =?UTF-8?q?=E7=9F=AD=E8=A6=81=E6=B1=82=E4=B8=BA6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/user.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 8f1e29547..c255023d2 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -103,8 +103,9 @@ class User < Owner LOGIN_LENGTH_LIMIT = 30 MAIL_LENGTH_LMIT = 60 - - MIX_PASSWORD_LIMIT = 8 + # 最短密码长度修改为6 + # MIX_PASSWORD_LIMIT = 8 + MIX_PASSWORD_LIMIT = 6 LOGIN_CHARS = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z).freeze