lad1337 / xem

codeigniter based web app to map epsiodes and shows across websites
19 stars 8 forks source link

Unable to Change Password #10

Closed daviddotcs closed 9 years ago

daviddotcs commented 9 years ago

Nothing happens when I attempt to change my password at http://thexem.de/user. I believe this is the fault of the following code within the changePassword function in SimpleLoginSecure.php, as $oneTimeCode appears to never be assigned.

$this->CI->db->where('user_activationcode', $oneTimeCode);
$query = $this->CI->db->get_where($this->user_table);
if ($query->num_rows() != 1){
    return false;
}else{
    $user_data = $query->row_array();
    if((int)$user_data['user_id'] != $user_id)
        return false;
}
thezoggy commented 9 years ago

this has been resolved