diff --git a/codepot/src/codepot/controllers/main.php b/codepot/src/codepot/controllers/main.php index 4c7ea1a1..c4fb0689 100644 --- a/codepot/src/codepot/controllers/main.php +++ b/codepot/src/codepot/controllers/main.php @@ -25,7 +25,8 @@ class Main extends Controller $this->load->model ('UserModel', 'users'); $this->load->library(array('encrypt', 'form_validation', 'session')); - $this->form_validation->set_rules('user_name', 'username', 'required|alpha_dash'); + //$this->form_validation->set_rules('user_name', 'username', 'required|alpha_dash'); + $this->form_validation->set_rules('user_name', 'username', 'required'); $this->form_validation->set_rules('user_pass', 'password', 'required'); $this->form_validation->set_error_delimiters('',''); diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 09b2d7ab..42eef3f0 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -5,6 +5,7 @@ + diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 2d086022..33fb75c9 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -1,6 +1,7 @@ body { padding: 0; margin: 5px 5px 5px 5px; + min-width: 600px; } .content