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
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
|
||||
// PARTIAL WORKAROUND
|
||||
$generated_fake_api_key=getRandomPassword(false);
|
||||
print '<input type="hidden" name="api_key" value="'.$generated_fake_api_key.'">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user