[Rt-devel] [PATCH] Typo in User::ResetPassword() in RT 3.2.1
Petter Reinholdtsen
pere at hungry.com
Thu Aug 26 09:11:49 EDT 2004
While looking at
<URL:http://rt3.fsck.com/Ticket/Display.html?id=2934&user=guest&pass=guest?
trying to set up a scrip to generate and submit password to new users,
I discovered a typo in the ResetPassword() implemenation in
User_Overlay.pm for RT versjon 3.2.1.
Here is a patch to make sure the template loaded for non-privileged
users matches the name specified in the documentation, and to make
sure it is different from the one loaded for privileged users.
--- lib/RT/User_Overlay.pm 2004-07-12 20:00:53.000000000 +0200
+++ /tmp/User_Overlay.pm 2004-08-26 15:10:19.000000000 +0200
@@ -742,7 +742,7 @@
$template->LoadGlobalTemplate('RT_PasswordChange_Privileged');
}
else {
- $template->LoadGlobalTemplate('RT_PasswordChange_Privileged');
+ $template->LoadGlobalTemplate('RT_PasswordChange_NonPrivileged');
}
unless ( $template->Id ) {
More information about the Rt-devel
mailing list