系统用户支持.

pull/45/merge
ibuler 2016-01-18 12:01:39 +08:00
parent 28e0ea3e81
commit 36bfb50aad
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ $('#roleForm').validator({
timely: 2,
theme: "yellow_right_effect",
rules: {
check_name: [/(?!^root$)^\w{2,20}$/i, '大小写字母数字和下划线,2-20位,并且非root'],
check_name: [/(?!^root$)^[\w.]{2,20}$/i, '大小写字母数字和下划线小数点,2-20位,并且非root'],
check_begin: [/^[\-]+BEGIN RSA PRIVATE KEY[\-]+/gm, 'RSA Key填写有误请检查'],
},