<commit_before><?php
/**
 * AIdentityBehaviorBasic
 *
 * @copyright (c) 2013, <NAME> <<EMAIL> at g<EMAIL>>
 * 
 */
class AIdentityBehaviorBasic extends AIdentityBehavior {
	
	/**
	 * @param string $password
	 * @return boolean 
	 */
	public function apiAuthValidatePassword($password)
	{
		//compare user supplied password against the password we know.
		return $this->passwordValidationResult = (ApiAuth::encryptBasic($this->owner->password) === $password);
	}
}<commit_msg>fix basic authentication. (removed undefined variable)<commit_after><?php
/**
 * AIdentityBehaviorBasic
 *
 * @copyright (c) 2013, <NAME> <<EMAIL>.<EMAIL> at g<EMAIL>>
 * 
 */
class AIdentityBehaviorBasic extends AIdentityBehavior {
	
	/**
	 * @param string $password
	 * @return boolean 
	 */
	public function apiAuthValidatePassword($password)
	{
		//compare user supplied password against the password we know.
		return (ApiAuth::encryptBasic($this->owner->password) === $password);
	}
}
{'fraction_non_alphanumeric': 0.138860103626943, 'fraction_numerical': 0.008290155440414507, 'mean_word_length': 4.715976331360947, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 17, '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': '6075708', 'n_tokens_mistral': 298, 'n_tokens_neox': 274, 'n_words': 72}