From: Martin Zobel-Helas Date: Thu, 8 Mar 2012 22:59:29 +0000 (+0100) Subject: fix code X-Git-Tag: release-0.3.36~2 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=86db90437e60869cae6c0a7689e63d277991c52f fix code --- diff --git a/update.cgi b/update.cgi index f0ff1ac..4db9464 100755 --- a/update.cgi +++ b/update.cgi @@ -248,7 +248,7 @@ if (!($query->param('doupdate'))) { } # create a md5 crypted password - $newwebpassword = '{crypt}'.crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1)); + $newwebpassword = crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1)); &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword); }