Fixed Ion_auth_model for username input
Fixed Ion_auth_model for username input

Before the update, if the setting for identity in ion_auth config was "email", when creating a new user a username field would be left blank. This fixes the issue for both ways to identify users (both "email" and "username").

This solution was given by Aleix.
benedmunds/CodeIgniter-Ion-Auth,avenirer/CodeIgniter-Ion-Auth,Tjoosten/CodeIgniter-Ion-Auth,suhindra/CodeIgniter-Ion-Auth,benedmunds/CodeIgniter-Ion-Auth,nguyenanhnhan/CodeIgniter-Ion-Auth,suhindra/CodeIgniter-Ion-Auth,avenirer/CodeIgniter-Ion-Auth,suhindra/CodeIgniter-Ion-Auth,Tjoosten/CodeIgniter-Ion-Auth,benedmunds/CodeIgniter-Ion-Auth,nguyenanhnhan/CodeIgniter-Ion-Auth,nguyenanhnhan/CodeIgniter-Ion-Auth,Tjoosten/CodeIgniter-Ion-Auth,avenirer/CodeIgniter-Ion-Auth