From: Martin Zobel-Helas Date: Fri, 9 Mar 2012 11:32:46 +0000 (+0100) Subject: fix web password generation X-Git-Tag: release-0.3.40~75 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=e9a3d262aa18e6469b9372741210014f51b0c9a7 fix web password generation Signed-off-by: Martin Zobel-Helas --- diff --git a/update.cgi b/update.cgi index 9f9b78c..13d847b 100755 --- a/update.cgi +++ b/update.cgi @@ -249,7 +249,7 @@ if (!($query->param('doupdate'))) { } # create a md5 crypted password - $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1)); + $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt()); &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword); }