{"action":"created","issue":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/933","repository_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth","labels_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/933/comments","events_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/933/events","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/933","id":144864696,"number":933,"title":"Username Identity Issue","user":{"login":"usamacode","id":6018095,"avatar_url":"https://avatars.githubusercontent.com/u/6018095?v=3","gravatar_id":"","url":"https://api.github.com/users/usamacode","html_url":"https://github.com/usamacode","followers_url":"https://api.github.com/users/usamacode/followers","following_url":"https://api.github.com/users/usamacode/following{/other_user}","gists_url":"https://api.github.com/users/usamacode/gists{/gist_id}","starred_url":"https://api.github.com/users/usamacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usamacode/subscriptions","organizations_url":"https://api.github.com/users/usamacode/orgs","repos_url":"https://api.github.com/users/usamacode/repos","events_url":"https://api.github.com/users/usamacode/events{/privacy}","received_events_url":"https://api.github.com/users/usamacode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-31T11:14:30Z","updated_at":"2016-08-12T13:53:48Z","closed_at":null,"body":"Please guys be noted that, If you set the Identity column to be username, your username will be empty when you are creating user.\r\nSolution:-\r\nOpen Ion_Auth_Model.php and got to register function line 909 and remove username => '' from the $data array();\r\n$data = array(\r\n\t\t    $this->identity_column   => $identity,\r\n\t\t    //'username' => '',\r\n\t\t    'password'   => $password,\r\n\t\t    'email'      => $email,\r\n\t\t    'ip_address' => $ip_address,\r\n\t\t    'created_on' => time(),\r\n\t\t    'active'     => ($manual_activation === false ? 1 : 0)\r\n\t\t);\r\n"},"comment":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/comments/239452113","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/933#issuecomment-239452113","issue_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/933","id":239452113,"user":{"login":"avenirer","id":3034772,"avatar_url":"https://avatars.githubusercontent.com/u/3034772?v=3","gravatar_id":"","url":"https://api.github.com/users/avenirer","html_url":"https://github.com/avenirer","followers_url":"https://api.github.com/users/avenirer/followers","following_url":"https://api.github.com/users/avenirer/following{/other_user}","gists_url":"https://api.github.com/users/avenirer/gists{/gist_id}","starred_url":"https://api.github.com/users/avenirer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avenirer/subscriptions","organizations_url":"https://api.github.com/users/avenirer/orgs","repos_url":"https://api.github.com/users/avenirer/repos","events_url":"https://api.github.com/users/avenirer/events{/privacy}","received_events_url":"https://api.github.com/users/avenirer/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T13:53:48Z","updated_at":"2016-08-12T13:53:48Z","body":"@deusoz I really don't understand how you've met those problems. Do you have the latest versions of the library, config and model?\r\n\r\nAlso, I don't understand why you think that it's saver to use unique username rather than email, which was also unique last time I checked..."}}
{"actor":{"display_login":"avenirer"}}