[Rt-commit] [svn] r1682 - in rt/branches/3.3-TESTING: . lib/RT

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Sat Oct 23 17:49:26 EDT 2004


Author: jesse
Date: Sat Oct 23 17:49:25 2004
New Revision: 1682

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
Log:
 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/3.3-TESTING/lib/RT/User_Overlay.pm
==============================================================================
--- rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm	(original)
+++ rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm	Sat Oct 23 17:49:25 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