X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=blobdiff_plain;f=update.cgi;h=d7749d89d75e1876428ae77254124da8e8d84be4;hp=13d847b1a984ac6d79803c7092508db4d1da72f8;hb=9b394648f35965c5b6e18a8ff12af25d73866f7a;hpb=e9a3d262aa18e6469b9372741210014f51b0c9a7 diff --git a/update.cgi b/update.cgi index 13d847b..d7749d8 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()); + $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateMD5Salt()); &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword); }