Пример #1
0
 public function get_form_fields()
 {
     $return = parent::get_form_fields();
     $CI =& ci_get_instance();
     if ($CI->app_conf->get('login_with') != 'username') {
         unset($return['username']);
     }
     return $return;
 }