Code is the same, Just updated the database credentials and done some changes in Hosting > PHP Settings. Then working fine
public function jadminlogin($username,$password)
{
$this->db->select('*');
$this->db->from('tbl_admin');
// $this->db->where('admin_email',$username);
$this->db->where('admin_name',$username);
$this->db->where('admin_password',$password);
$query = $this->db->get();
$row_count = $query->num_rows();
$row_array = $query->row_array();
if($row_count > 0)
{
$this->session->set_userdata('is_admin_login',true);
$this->session->set_userdata('admin_id',$row_array['admin_id']);
$this->session->set_userdata('admin_name',$row_array['admin_name']);
$this->session->set_userdata('admin_email',$row_array['admin_email']);
$this->session->set_userdata('admin_password',$row_array['admin_password']);
$this->session->set_userdata('admin_profile',$row_array['admin_profile']);
$this->session->set_userdata('is_twofa',$row_array['is_twofa']);
________
no tbl_admin table in database bro.
and after seeing code and fos_user_table (your database) , he is using bcrypt.