修改注册BUG

This commit is contained in:
fanqiang 2013-08-12 23:05:10 +08:00
parent caca8d1319
commit 0c89ef0360
1 changed files with 2 additions and 0 deletions

View File

@ -1012,9 +1012,11 @@ module ApplicationHelper
###xianbo
end
###by xianbo
unless pramas[:repository].nil?
if params[:repository][:upassword]==""
html << "<li>密码不能设置为空。</li>\n"
end
end
###xianbo
html << "</ul></div>\n"
end