mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-04 20:39:28 +00:00
d1b4024b76
- LDAP_Model->getUserDN now returns errors with more information - Login redirection is performed with HTTP code 302 instead of 301 - Fixed _checkHBALDAPAuthentication behavior - AuthLib errors have more information
40 lines
672 B
PHP
40 lines
672 B
PHP
<?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()
|
|
{
|
|
}
|
|
}
|