Fix: On limite l'authentification celle configure.
This commit is contained in:
parent
7973eac1a1
commit
54b95f4f21
@ -96,12 +96,18 @@ dolibarr_syslog("Session name=".$sessionname." Session id()=".session_id().", _S
|
||||
// Example: array('forceuser');
|
||||
$authmode=array();
|
||||
|
||||
// Authentication mode: http
|
||||
if (! $dolibarr_main_authentication || $dolibarr_main_authentication == 'http')
|
||||
// Authentication mode: non defini (cas de compatibilite ascendante)
|
||||
if (! $dolibarr_main_authentication)
|
||||
{
|
||||
// Mode par defaut, on test http + dolibarr
|
||||
$authmode=array('http','dolibarr');
|
||||
}
|
||||
|
||||
// Authentication mode: http
|
||||
if ($dolibarr_main_authentication == 'http')
|
||||
{
|
||||
$authmode=array('http');
|
||||
}
|
||||
// Authentication mode: dolibarr
|
||||
if ($dolibarr_main_authentication == 'dolibarr')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user