diff --git a/templates/juser/user_add.html b/templates/juser/user_add.html
index 2e4619043..621d18107 100644
--- a/templates/juser/user_add.html
+++ b/templates/juser/user_add.html
@@ -131,7 +131,7 @@ $('#userForm').validator({
timely: 2,
theme: "yellow_right_effect",
rules: {
- check_username: [/^\w{3,20}$/, '大小写字母数字和下划线'],
+ check_username: [/^[\w.]{3,20}$/, '大小写字母数字和下划线小数点'],
type_m: function(element){
return $("#M").is(":checked");
}
diff --git a/templates/upload.html b/templates/upload.html
index 2a5d712d9..068e59c11 100644
--- a/templates/upload.html
+++ b/templates/upload.html
@@ -99,6 +99,7 @@
autoProcessQueue: false,
uploadMultiple: true,
parallelUploads: 100,
+ maxFilesize: 2048,
maxFiles: 100,
url: '/file/upload/',