FIX #3524
(Fatal error: Call to undefined function getRandomPassword() in /htdocs/user/card.php on line 846)
This commit is contained in:
parent
9cbd236c8c
commit
31266b3c11
@ -841,6 +841,7 @@ if (($action == 'create') || ($action == 'adduserldap'))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
|
||||||
// PARTIAL WORKAROUND
|
// PARTIAL WORKAROUND
|
||||||
$generated_fake_api_key=getRandomPassword(false);
|
$generated_fake_api_key=getRandomPassword(false);
|
||||||
print '<input type="hidden" name="api_key" value="'.$generated_fake_api_key.'">';
|
print '<input type="hidden" name="api_key" value="'.$generated_fake_api_key.'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user