[Bps-public-commit] r20046 - in RT-Extension-ResetPassword/html/NoAuth/ResetPassword: .

falcone at bestpractical.com falcone at bestpractical.com
Wed Jun 24 14:08:00 EDT 2009


Author: falcone
Date: Wed Jun 24 14:07:59 2009
New Revision: 20046

Modified:
   RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Request.html
   RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Reset/dhandler

Log:
WebPath fix from Jason Fenner

Modified: RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Request.html
==============================================================================
--- RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Request.html	(original)
+++ RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Request.html	Wed Jun 24 14:07:59 2009
@@ -66,7 +66,7 @@
     $u->LoadByCols(EmailAddress => $ARGS{'Email'});
     if ($u->id) {
     my $token = Digest::MD5->new()->add( $u->id, $u->__Value('Password'),
-        $RT::DatabasePassword, $u->LastUpdated, '/NoAuth/ResetPassword/Reset')->hexdigest();
+    $RT::DatabasePassword, $u->LastUpdated, @{[$RT::WebPath]} . '/NoAuth/ResetPassword/Reset')->hexdigest();
 
     my $msg = <<EOF;
 Greetings,

Modified: RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Reset/dhandler
==============================================================================
--- RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Reset/dhandler	(original)
+++ RT-Extension-ResetPassword/html/NoAuth/ResetPassword/Reset/dhandler	Wed Jun 24 14:07:59 2009
@@ -13,7 +13,7 @@
 if ( $u->id ) {
     $token = Digest::MD5->new()->add( $u->id, $u->__Value('Password'),
         $RT::DatabasePassword, $u->LastUpdated,
-        '/NoAuth/ResetPassword/Reset' )->hexdigest();
+        @{[$RT::WebPath]} . '/NoAuth/ResetPassword/Reset' )->hexdigest();
 }
 else {
     push @results,



More information about the Bps-public-commit mailing list