mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-03 03:29:09 -04:00
Make the user name a required field. Fixes ticket #852
This commit is contained in:
@@ -21,7 +21,7 @@ class User_Model extends ORM implements User_Definition {
|
||||
protected $has_and_belongs_to_many = array("groups");
|
||||
|
||||
var $rules = array(
|
||||
"name" => "length[1,32]",
|
||||
"name" => "required|length[1,32]",
|
||||
"full_name" => "length[0,255]",
|
||||
"email" => "valid_email|length[1,255]",
|
||||
"password" => "length[1,40]",
|
||||
|
||||
Reference in New Issue
Block a user