Commit 1210e3c4159c2d9cb65800111371bd544f6c4b76

Authored by Michael Joseph
1 parent a0f08d90

using md5'd password for db operation- user addition


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1583 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php
... ... @@ -83,9 +83,8 @@ if (checkSession()) {
83 83 } else if(isset($fAddToDb)) {
84 84 // if db authentication
85 85 if(isset($fFromDb)) {
86   -
87 86 //User($sNewUserName, $sNewName, $sNewPassword, $iNewQuotaMax, $sNewEmail, $sNewMobile, $bNewEmailNotification, $bNewSmsNotification, $sNewLdapDn, $iNewMaxSessions, $iNewLanguageID)
88   - $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,0,1,0);
  87 + $oUser = new User($fUsername,$fName,md5($fPassword),0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,0,1,0);
89 88  
90 89 } else {
91 90 $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,$fLdap,1,0);
... ...