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

? sunnavy sunnavy at bestpractical.com
Thu Feb 12 10:52:14 EST 2015


The branch, master has been updated
       via  a11743b635b0f3cce2c811820c06138015698408 (commit)
      from  fa25984fe70188c64a5fc9a3f2bb4d96daa3843c (commit)

Summary of changes:
 html/NoAuth/ResetPassword/Request.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit a11743b635b0f3cce2c811820c06138015698408
Author: Christian Loos <cloos at netcologne.de>
Date:   Tue Sep 23 08:40:08 2014 +0200

    fix RT->Config->Get call for HidePasswordResetErrors
    
    fixes "Use of uninitialized value in numeric eq (==)" warning

diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index 4e7826f..794c44c 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -99,7 +99,7 @@ if ($ARGS{'Email'}) {
         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 " . $ARGS{'Email'});
     }
-    if(RT->Config->Get("HidePasswordResetErrors") == 1) {
+    if(RT->Config->Get("HidePasswordResetErrors")) {
         pop @actions;
         push @actions, loc("RT has sent you an email message with instructions about how to reset your password");
     }

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


More information about the Bps-public-commit mailing list