From 86db90437e60869cae6c0a7689e63d277991c52f Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Thu, 8 Mar 2012 23:59:29 +0100 Subject: [PATCH] fix code --- update.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1