Update perm_role_edit.html

pull/240/head
ibuler 2016-05-18 17:00:35 +08:00
parent a1859676e4
commit 08717d196f
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,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填写有误请检查'],
},