Skip to content

Commit

Permalink
Fix #29
Browse files Browse the repository at this point in the history
  • Loading branch information
wzxjohn committed Feb 6, 2015
1 parent 7fa76e6 commit 10ad74a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/User.php
Expand Up @@ -147,7 +147,7 @@ function register($code = null)
function do_register()
{
$username = $this->input->post('username');
if ( strlen($username)<7||strlen($username)>32 )
if ( strlen($username)<6 || strlen($username)>32 )
{
echo '{"result" : "用户名不合法!" }';
return;
Expand Down

0 comments on commit 10ad74a

Please sign in to comment.