From d7f7c2ea89c99547cb29a514c96584908596c11f Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 14 Mar 2003 14:24:49 +0000 Subject: [PATCH] using md5'd password for db operation- user addition --- presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php b/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php index 11ecff7..f619f1b 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php +++ b/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php @@ -83,9 +83,8 @@ if (checkSession()) { } else if(isset($fAddToDb)) { // if db authentication if(isset($fFromDb)) { - //User($sNewUserName, $sNewName, $sNewPassword, $iNewQuotaMax, $sNewEmail, $sNewMobile, $bNewEmailNotification, $bNewSmsNotification, $sNewLdapDn, $iNewMaxSessions, $iNewLanguageID) - $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,0,1,0); + $oUser = new User($fUsername,$fName,md5($fPassword),0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,0,1,0); } else { $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,$fLdap,1,0); -- libgit2 0.21.4