{"action":"created","issue":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/706","labels_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/706/comments","events_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/706/events","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/706","id":54561023,"number":706,"title":"Login trouble","user":{"login":"Micky87","id":7440545,"avatar_url":"https://avatars.githubusercontent.com/u/7440545?v=3","gravatar_id":"","url":"https://api.github.com/users/Micky87","html_url":"https://github.com/Micky87","followers_url":"https://api.github.com/users/Micky87/followers","following_url":"https://api.github.com/users/Micky87/following{/other_user}","gists_url":"https://api.github.com/users/Micky87/gists{/gist_id}","starred_url":"https://api.github.com/users/Micky87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Micky87/subscriptions","organizations_url":"https://api.github.com/users/Micky87/orgs","repos_url":"https://api.github.com/users/Micky87/repos","events_url":"https://api.github.com/users/Micky87/events{/privacy}","received_events_url":"https://api.github.com/users/Micky87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-16T10:33:14Z","updated_at":"2015-01-18T12:33:08Z","closed_at":null,"body":"Hi,  I'm sorry for the inconvenience but I can not solve a problem with your ion_auth , I tried all  I can.\r\n\r\nThis is my code\r\n\r\n    $input=$this->input->post(LOGIN_ID,true);\r\n    $user_data=json_decode($input, TRUE);\r\n    $result=$this->ion_auth->login($user_data['nickname'], $user_data['password']);\r\n    return $result;\r\n\r\n$user_data contains correct values\r\n\r\nI saw that $result is always false, so i opened the database and the same password had different values for different users, so i think there is an error in registration\r\n\r\n     $input=$this->input->post(REGISTRATION_INPUT,true);\r\n     $registration_data=json_decode($input, TRUE);\r\n     $username=$registration_data['nickname'];\r\n     $password=$registration_data['password'];\r\n     $email=$password=$registration_data['email'];\r\n     $additional_data=array('first_name'=>$registration_data['name'],'last_name'=>$registration_data['surname']);\r\n     $result=$this->ion_auth->register($username, $password, $email, $additional_data) ;\r\n\r\n In config file i set\r\n\r\n    $config['identity'] = 'username';\r\n\r\nAnd I set also username as index im my MYSQL table \r\nusers(id,ip_address,username,password, salt, email,...)\r\n\r\nI don't really know what to do, thanks for attention"},"comment":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/comments/70406634","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/706#issuecomment-70406634","issue_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/706","id":70406634,"user":{"login":"Tjoosten","id":5157609,"avatar_url":"https://avatars.githubusercontent.com/u/5157609?v=3","gravatar_id":"","url":"https://api.github.com/users/Tjoosten","html_url":"https://github.com/Tjoosten","followers_url":"https://api.github.com/users/Tjoosten/followers","following_url":"https://api.github.com/users/Tjoosten/following{/other_user}","gists_url":"https://api.github.com/users/Tjoosten/gists{/gist_id}","starred_url":"https://api.github.com/users/Tjoosten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tjoosten/subscriptions","organizations_url":"https://api.github.com/users/Tjoosten/orgs","repos_url":"https://api.github.com/users/Tjoosten/repos","events_url":"https://api.github.com/users/Tjoosten/events{/privacy}","received_events_url":"https://api.github.com/users/Tjoosten/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T12:33:08Z","updated_at":"2015-01-18T12:33:08Z","body":"Glad to hear that @Micky87 \r\n"}}