From d8a8be385b889ceab2fc94238121b304b3fbc428 Mon Sep 17 00:00:00 2001 From: hystepik Date: Wed, 29 Mar 2023 11:10:58 +0200 Subject: [PATCH] New : Creation of login from lastname and firstname --- htdocs/user/card.php | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index dfd90b4dc0f..124c61dc737 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -893,7 +893,7 @@ if ($action == 'create' || $action == 'adduserldap') { print ''; print $ldap_lastname; } else { - print ''; + print ''; } print ''; @@ -904,7 +904,7 @@ if ($action == 'create' || $action == 'adduserldap') { print ''; print $ldap_firstname; } else { - print ''; + print ''; } print ''; @@ -918,10 +918,28 @@ if ($action == 'create' || $action == 'adduserldap') { print ''; print $ldap_loginsmb; } else { - print ''; + print ''; } print ''; + if (!empty($conf->use_javascript_ajax)) { + print ''; + } + $generated_password = ''; if (empty($ldap_sid)) { // ldap_sid is for activedirectory $generated_password = getRandomPassword(false);