FIX : if(!method_exists(dol_loginfunction))
This commit is contained in:
parent
05dc40b6b9
commit
d997309bcb
@ -126,6 +126,7 @@ function checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmod
|
|||||||
* @param Societe $mysoc Company object
|
* @param Societe $mysoc Company object
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
if (! function_exists('dol_loginfunction')) {
|
||||||
function dol_loginfunction($langs,$conf,$mysoc)
|
function dol_loginfunction($langs,$conf,$mysoc)
|
||||||
{
|
{
|
||||||
global $dolibarr_main_demo,$db;
|
global $dolibarr_main_demo,$db;
|
||||||
@ -300,6 +301,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
|
|
||||||
$_SESSION["dol_loginmesg"] = '';
|
$_SESSION["dol_loginmesg"] = '';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fonction pour initialiser un salt pour la fonction crypt.
|
* Fonction pour initialiser un salt pour la fonction crypt.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user