Ajout du l'auto-user
This commit is contained in:
parent
431c95e85e
commit
365049b802
@ -78,6 +78,12 @@ if (!empty ($GLOBALS["REMOTE_USER"]))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!empty ($dolibarr_auto_user))
|
||||||
|
{
|
||||||
|
$user->fetch($dolibarr_auto_user);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
require_once "Auth/Auth.php";
|
require_once "Auth/Auth.php";
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
@ -102,7 +108,7 @@ else
|
|||||||
*/
|
*/
|
||||||
print '</div></div></body></html>';
|
print '</div></div></body></html>';
|
||||||
die ;
|
die ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user