mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
- Changed authentication_login to AUTH_LDAP in auth.php
- 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
This commit is contained in:
@@ -8,13 +8,13 @@ if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
$config['authentication_foreign_methods'] = array(AUTH_BT, AUTH_HBALDAP);
|
||||
|
||||
// Login method
|
||||
$config['authentication_login'] = AUTH_DB;
|
||||
$config['authentication_login'] = AUTH_LDAP;
|
||||
|
||||
// Array of login pages
|
||||
$config['authentication_login_pages'] = array(
|
||||
AUTH_DB => 'system/Login/emailCode',
|
||||
AUTH_LDAP => 'system/Login/usernamePassword',
|
||||
AUTH_SSO => 'system/Login/sso'
|
||||
AUTH_DB => '/system/Login/emailCode',
|
||||
AUTH_LDAP => '/system/Login/usernamePassword',
|
||||
AUTH_SSO => '/system/Login/sso'
|
||||
);
|
||||
|
||||
// List of permissions that are allowed to perform loginAs
|
||||
|
||||
Reference in New Issue
Block a user