Permalink
Browse files

removing the requirement for the twitter username to be present for a…

…ll users
  • Loading branch information...
1 parent 8ba033e commit b1746aa99e7bff0baac2a8b928355593d714d4f3 @lornajane lornajane committed May 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/system/application/controllers/user.php
@@ -296,7 +296,7 @@ function register()
'user' => 'required|trim|callback_usern_check|xss_clean',
'pass' => 'required|trim|matches[passc]|md5',
'passc' => 'required|trim',
- 'twitter_username' => 'required|trim|callback_twitter_check',
+ 'twitter_username' => 'trim|callback_twitter_check',
'email' => 'required|trim|valid_email',
'cinput'=> 'required|callback_cinput_check'
);
@@ -469,7 +469,7 @@ function manage()
'email' => 'required',
'pass' => 'trim|matches[pass_conf]|md5',
'pass_conf' => 'trim',
- 'twitter_username' => 'required|trim|callback_twitter_check['.$uid.']',
+ 'twitter_username' => 'trim|callback_twitter_check['.$uid.']',
);
$this->validation->set_rules($rules);
$this->validation->set_fields($fields);

0 comments on commit b1746aa

Please sign in to comment.