fix typo
authorLuca Filipozzi <lfilipoz@emyr.net>
Thu, 16 Jan 2014 23:26:19 +0000 (23:26 +0000)
committerLuca Filipozzi <lfilipoz@emyr.net>
Thu, 16 Jan 2014 23:26:19 +0000 (23:26 +0000)
update.cgi

index 60a2040..c264eaf 100755 (executable)
@@ -266,7 +266,7 @@ if (!($query->param('doupdate'))) {
       &Util::HTMLError("Password check failed for rtc-password: $msg.  Please go back and try again.");
     }
     # create a md5 crypted password
-    $newrtcpassword = &md5_hex( ldap_explode_dn($editid)->[0]{UID} . '@debian.org:rtc.debian.org:' . $query->param('newrtcpass') );
+    $newrtcpassword = &md5_hex( ldap_explode_dn($editdn)->[0]{UID} . '@debian.org:rtc.debian.org:' . $query->param('newrtcpass') );
 
     &Util::LDAPUpdate($ldap, $editdn, 'rtcPassword', $newrtcpassword);
   }