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);