mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
a8b7be6ad5
- FHC_Auth now extends directly authentication
18 lines
327 B
PHP
18 lines
327 B
PHP
<?php
|
|
|
|
class CheckUserAuth_model extends FHC_Model
|
|
{
|
|
/**
|
|
* Construct
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->load->library('fhc_auth');
|
|
}
|
|
|
|
public function checkByUsernamePassword($username, $password)
|
|
{
|
|
return $this->_success($this->fhc_auth->checkpassword($username, $password));
|
|
}
|
|
} |