Code Duplication    Length = 6-6 lines in 2 locations

application/third_party/Ion-Auth/models/Ion_auth_model.php 2 locations

@@ 599-604 (lines=6) @@
596
		    			  ->order_by('id', 'desc')
597
		                  ->get($this->tables['users']);
598
599
		if ($query->num_rows() !== 1)
600
		{
601
			$this->trigger_events(array('post_change_password', 'post_change_password_unsuccessful'));
602
			$this->set_error('password_change_unsuccessful');
603
			return FALSE;
604
		}
605
606
		$result = $query->row();
607
@@ 655-660 (lines=6) @@
652
		    			  ->order_by('id', 'desc')
653
		                  ->get($this->tables['users']);
654
655
		if ($query->num_rows() !== 1)
656
		{
657
			$this->trigger_events(array('post_change_password', 'post_change_password_unsuccessful'));
658
			$this->set_error('password_change_unsuccessful');
659
			return FALSE;
660
		}
661
662
		$user = $query->row();
663