[Rt-commit] r7700 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 25 13:38:25 EDT 2007


Author: ruz
Date: Wed Apr 25 13:38:25 2007
New Revision: 7700

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPGNG.pm

Log:
 r5142 at cubic-pc:  cubic | 2007-04-25 21:38:10 +0400
 * reject only when errors handler said to reject


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPGNG.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPGNG.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPGNG.pm	Wed Apr 25 13:38:25 2007
@@ -95,7 +95,7 @@
     unless ( $status ) {
         $RT::Logger->error("Had a problem during decrypting and verifying");
         my $reject = HandleErrors( Message => $args{'Message'}, Result => \@res );
-        return $args{'CurrentUser'}, -2;
+        return $args{'CurrentUser'}, -2 if $reject;
     }
 
     # attach the original encrypted message


More information about the Rt-commit mailing list