Add possibility to include login method in a module
This commit is contained in:
parent
4c105c7a40
commit
7408c18ca6
@ -287,7 +287,7 @@ if (! defined('NOLOGIN'))
|
|||||||
$authmode=explode(',',$dolibarr_main_authentication);
|
$authmode=explode(',',$dolibarr_main_authentication);
|
||||||
|
|
||||||
// No authentication mode
|
// No authentication mode
|
||||||
if (! sizeof($authmode) && is_array($conf->login_method_modules) && !empty($conf->login_method_modules))
|
if (! sizeof($authmode) && empty($conf->login_method_modules))
|
||||||
{
|
{
|
||||||
$langs->load('main');
|
$langs->load('main');
|
||||||
dol_print_error('',$langs->trans("ErrorConfigParameterNotDefined",'dolibarr_main_authentication'));
|
dol_print_error('',$langs->trans("ErrorConfigParameterNotDefined",'dolibarr_main_authentication'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user