mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-04 13:49:29 +00:00
13db712fa7
- Fixed paths in array authentication_login_pages in ayth.php - Added new constants AUTHENTICATION_LOGIN and AUTHENTICATION_LOGIN_PAGES to AuthLib - Added private method _redirectToLogin to AuthLib - Better comments
39 lines
618 B
PHP
39 lines
618 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()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* To login into the system with email and code as credentials
|
|
*/
|
|
public function emailCode()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* To login into the system using SSO
|
|
*/
|
|
public function sso()
|
|
{
|
|
}
|
|
}
|