<commit_before> <?php defined('SYSPATH') or die('No direct script access.');

class Model_User extends ORM
{
	protected $_has_many = array('projects' => array(), 'tickets' => array(), 'comments' => array());
	
	public function rules()
	{
		$rules = array
		(
			'username' => array('not_empty' => array()),
			'email' => array('not_empty' => array(), 'email' => array()),
		);
		return $rules;
	}	
}<commit_msg>Added password_confirm ignored_column var to user model.<commit_after> <?php defined('SYSPATH') or die('No direct script access.');

class Model_User extends ORM
{
	protected $_has_many = array('projects' => array(), 'tickets' => array(), 'comments' => array());
	protected $_ignored_columns = array
	(
		'password_confirm',
	);
	
	public function rules()
	{
		$rules = array
		(
			'username' => array('not_empty' => array()),
			'email' => array('not_empty' => array(), 'email' => array()),
			'password_confirm => array('matches' => array('password')),
			'password => array('not_empty' => array())

		);
		return $rules;
	}	
}
{'fraction_non_alphanumeric': 0.1978866474543708, 'fraction_numerical': 0.0, 'mean_word_length': 4.693989071038251, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1777114', 'n_tokens_mistral': 355, 'n_tokens_neox': 329, 'n_words': 86}