mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 22:14:04 +08:00
修改密码最短要求为6
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user