mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
- Moved all the code related to authentication to AuthLib
- Changed configuration files autoload.php and rest.php to use AuthLib - Added new method getCheckUserAuth to controller CheckUserAuth.php - Removed libraries/FHC_Auth.php - Removed models/CheckUserAuth_model.php - Removed include/AddonAuthentication.php
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
class CheckUserAuth_model extends FHC_Model
|
||||
{
|
||||
/**
|
||||
* Construct
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->library('fhc_auth');
|
||||
}
|
||||
|
||||
public function checkByUsernamePassword($username, $password)
|
||||
{
|
||||
return success($this->fhc_auth->checkpassword($username, $password));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user