(Fatal error: Call to undefined function getRandomPassword() in /htdocs/user/card.php on line 846)
This commit is contained in:
All-3kcis 2015-09-17 10:00:32 +02:00
parent 9cbd236c8c
commit 31266b3c11

View File

@ -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.'">';