[Bps-public-commit] rt-extension-resetpassword branch, master, updated. 1.02

Alex Vandiver alexmv at bestpractical.com
Thu Sep 4 15:44:49 EDT 2014


The branch, master has been updated
       via  fa25984fe70188c64a5fc9a3f2bb4d96daa3843c (commit)
       via  9be6571b1973b78a07137f58104ccdd484708df5 (commit)
      from  3560fea65cdbb5583051b6a303e5523b5ea0de2b (commit)

Summary of changes:
 Changes                                | 3 +++
 META.yml                               | 2 +-
 html/NoAuth/ResetPassword/Request.html | 2 +-
 lib/RT/Extension/ResetPassword.pm      | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 9be6571b1973b78a07137f58104ccdd484708df5
Author: Richard Poole <rp at guests.deus.net>
Date:   Thu Sep 4 10:08:49 2014 +0100

    fix logging on attempt to reset password for non-existent account

diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index 9eecb72..4e7826f 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -97,7 +97,7 @@ if ($ARGS{'Email'}) {
         RT->Logger->warning("User " . $u->Name . " with no password attempted a password reset")
     } else {
         push @actions, loc("RT couldn't find a user with that email address. Give it another try?");
-        RT->Logger->warning("Password reset attempted for non-existent user " . $u->EmailAddress);
+        RT->Logger->warning("Password reset attempted for non-existent user " . $ARGS{'Email'});
     }
     if(RT->Config->Get("HidePasswordResetErrors") == 1) {
         pop @actions;

commit fa25984fe70188c64a5fc9a3f2bb4d96daa3843c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Sep 4 15:44:21 2014 -0400

    Version 1.02 releng

diff --git a/Changes b/Changes
index 03ecd83..9fa4844 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl module RT::Extension::ResetPassword
 
+1.02 2014-09-05
+ - Fix the log message for non-existant users
+
 1.01 2014-09-04
  - Fix MANIFEST
 
diff --git a/META.yml b/META.yml
index f92e63a..adf00e4 100644
--- a/META.yml
+++ b/META.yml
@@ -23,6 +23,6 @@ requires:
   perl: 5.8.3
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: '1.01'
+version: '1.02'
 x_module_install_rtx_version: '0.36'
 x_requires_rt: 4.0.0
diff --git a/lib/RT/Extension/ResetPassword.pm b/lib/RT/Extension/ResetPassword.pm
index 7ce74db..7dd9347 100644
--- a/lib/RT/Extension/ResetPassword.pm
+++ b/lib/RT/Extension/ResetPassword.pm
@@ -3,7 +3,7 @@ package RT::Extension::ResetPassword;
 use strict;
 use warnings;
 
-our $VERSION = '1.01';
+our $VERSION = '1.02';
 
 =head1 NAME
 

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list