- Removed method getCheckUserAuth form api/v1/CheckUserAuth

- Changed LDAP_Model to a library: LDAPLib
- Removed controller system/Login

AuthLib:
- Added new private method _createAuthObjByPerson
- Moved config load from constructor to _authenticate
- Moved Person_Model load from constructor to _createAuthObjByPerson
- Removed method checkUserAuthByCode
- Removed method checkUserAuthByCodeEmail
- Adapted code to use LDAPLib
This commit is contained in:
Paolo
2019-03-13 11:57:36 +01:00
parent fd9a2266ec
commit 53a0b60ba8
5 changed files with 100 additions and 237 deletions
-39
View File
@@ -1,39 +0,0 @@
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* NOTE: extends the FHC_Controller instead of the Auth_Controller because we want to login ;)
*/
class Login extends FHC_Controller
{
/**
*
*/
public function __construct()
{
parent::__construct();
}
/**
* To login into the system with username and password as credentials
*/
public function usernamePassword()
{
$this->load->view('system/login/usernamePassword');
}
/**
* To login into the system with email and code as credentials
*/
public function emailCode()
{
}
/**
* To login into the system using SSO
*/
public function sso()
{
}
}