Files
FHC-Core/application/config/auth.php
T
Paolo 4c2b1731a7 - Added configuration entry authentication_logout_page in auth.php
- Fixed function cleanSessionElement in hlp_session_helper
- Added constants AUTHENTICATION_LOGOUT_PAGE and SESSION_LANDING_PAGE to AuthLib
- Fixed method loginLDAP in AuthLib
- Added public method redirectToLandingPage to AuthLib
- Renamed method _storeAuthObj to _storeSessionAuthObj in AuthLib
- Added private method _storeSessionLandingPage to AuthLib
- Added private method _redirectTemporarily to AuthLib
2019-03-14 13:31:07 +01:00

22 lines
695 B
PHP

<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
// Array or a string of authentication methods sorted by priority (highest to lowest)
// NOTE: AUTH_HBALDAP works also as login page (old ugly HTTP basic authentication)
// should be placed at the end of the array
$config['authentication_foreign_methods'] = array(AUTH_BT, AUTH_HBALDAP);
// Login method
$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'
);
// Logout page
$config['authentication_logout_page'] = '/system/Logout';