Commit d7f7c2ea89c99547cb29a514c96584908596c11f
1 parent
a2e4d954
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
Showing
1 changed file
with
1 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php
| @@ -83,9 +83,8 @@ if (checkSession()) { | @@ -83,9 +83,8 @@ if (checkSession()) { | ||
| 83 | } else if(isset($fAddToDb)) { | 83 | } else if(isset($fAddToDb)) { |
| 84 | // if db authentication | 84 | // if db authentication |
| 85 | if(isset($fFromDb)) { | 85 | if(isset($fFromDb)) { |
| 86 | - | ||
| 87 | //User($sNewUserName, $sNewName, $sNewPassword, $iNewQuotaMax, $sNewEmail, $sNewMobile, $bNewEmailNotification, $bNewSmsNotification, $sNewLdapDn, $iNewMaxSessions, $iNewLanguageID) | 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 | } else { | 89 | } else { |
| 91 | $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,$fLdap,1,0); | 90 | $oUser = new User($fUsername,$fName,0,0,$fEmail,$fMobile,$fEmailNotification,$fSmsNotification,$fLdap,1,0); |