Setting $_configuration['send_two_inscription_confirmation_mail'] = true; should always ensure that Chamilo sends two e-mails (one with the username, one with the password), but when using main/admin/user_update_import.php with the "Automatically generate a new password" option checked, the setting is not taken into account.
The same goes for manual user edition, if it includes a password change, or any other user update (through web services or through plugins).
The code for the user creation taking this setting into account is at usermanager.lib.php +653
Setting
$_configuration['send_two_inscription_confirmation_mail'] = true;
should always ensure that Chamilo sends two e-mails (one with the username, one with the password), but when usingmain/admin/user_update_import.php
with the "Automatically generate a new password" option checked, the setting is not taken into account.The same goes for manual user edition, if it includes a password change, or any other user update (through web services or through plugins).
The code for the user creation taking this setting into account is at usermanager.lib.php +653
BT#21146