diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 03:51:53 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 03:51:53 +0000 |
commit | e6da2234e778821d71c33de012a37e3fa920489c (patch) | |
tree | 00e11a8791d1cf3f878517617446f2f58860474d /modules/user | |
parent | 3cfc9afde4f256d9c52f386494c0a9bb3db410a3 (diff) |
Relax the rules a bit
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/models/user.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/models/user.php b/modules/user/models/user.php index 118c1669..df01a345 100644 --- a/modules/user/models/user.php +++ b/modules/user/models/user.php @@ -21,10 +21,10 @@ class User_Model extends ORM { protected $has_and_belongs_to_many = array("groups"); var $rules = array( - "name" => "required|length[4,32]", + "name" => "required|length[1,32]", "full_name" => "length[0,255]", - "email" => "valid_email|length[4,255]", - "password" => "required|length[5,40]"); + "email" => "valid_email|length[1,255]", + "password" => "required|length[1,40]"); public function __set($column, $value) { switch ($column) { |