[Rt-commit] [svn] r1826 - in rt/branches/PLATANO-EXPERIMENTAL-CSS:
. lib/RT
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Nov 11 03:28:35 EST 2004
Author: jesse
Date: Thu Nov 11 03:28:34 2004
New Revision: 1826
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/User_Overlay.pm
Log:
r9088 at tinbook: jesse | 2004-11-11T02:59:45.857398Z
r6089 at tinbook: jesse | 2004-10-23T21:43:19.939096Z
Fixed message returned on password change to not include md5 hash of password
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/User_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/User_Overlay.pm (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/User_Overlay.pm Thu Nov 11 03:28:34 2004
@@ -1030,7 +1030,13 @@
}
else {
$password = $self->_GeneratePassword($password);
- return ( $self->SUPER::SetPassword( $password));
+ my ( $val, $msg ) = $self->SUPER::SetPassword($password);
+ if ($val) {
+ return ( 1, $self->loc("Password changed") );
+ }
+ else {
+ return ( $val, $msg );
+ }
}
}
More information about the Rt-commit
mailing list