projects
/
mirror
/
userdir-ldap-cgi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4b0e052
)
fix typo
author
Luca Filipozzi
<lfilipoz@emyr.net>
Thu, 16 Jan 2014 23:26:19 +0000
(23:26 +0000)
committer
Luca Filipozzi
<lfilipoz@emyr.net>
Thu, 16 Jan 2014 23:26:19 +0000
(23:26 +0000)
update.cgi
patch
|
blob
|
history
diff --git
a/update.cgi
b/update.cgi
index
60a2040
..
c264eaf
100755
(executable)
--- a/
update.cgi
+++ b/
update.cgi
@@
-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
&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($edit
id
)->[0]{UID} . '@debian.org:rtc.debian.org:' . $query->param('newrtcpass') );
+ $newrtcpassword = &md5_hex( ldap_explode_dn($edit
dn
)->[0]{UID} . '@debian.org:rtc.debian.org:' . $query->param('newrtcpass') );
&Util::LDAPUpdate($ldap, $editdn, 'rtcPassword', $newrtcpassword);
}
&Util::LDAPUpdate($ldap, $editdn, 'rtcPassword', $newrtcpassword);
}