Auth.php.diff

jordan shaw, 07/28/2009 09:04 pm

Download (620 Bytes)

 
Auth.php (working copy)
221 221
	{
222 222
		$salt = '';
223 223

  
224
		foreach ($this->config['salt_pattern'] as $i => $offset)
225
		{
226
			// Find salt characters, take a good long look...
227
			$salt .= $password[$offset + $i];
224
		if(!empty($password)){
225
			foreach ($this->config['salt_pattern'] as $i => $offset)
226
			{
227
				// Find salt characters, take a good long look...
228
				$salt .= $password[$offset + $i];
229
			}
228 230
		}
229

  
230 231
		return $salt;
231 232
	}
232 233

  
233
} // End Auth
234
} // End Auth