Apache2::Const::DECLINED leads to ugly error dialogues. I'm OK, you're OK.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Jun 2010 04:05:39 +0000 (04:05 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Jun 2010 04:05:39 +0000 (04:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16571 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/PasswordReset.pm

index 4c57a74..2e3fc2f 100644 (file)
@@ -113,7 +113,7 @@ sub reset_password {
         };
         $tt->process('password-reset/reset-form.tt2', $ctx)
             || die $tt->error();
-        return Apache2::Const::DECLINED;
+        return Apache2::Const::OK;
     }
 
     if ($password_1 and $password_2 and ($password_1 eq $password_2)) {
@@ -136,7 +136,7 @@ sub reset_password {
             }
             $tt->process('password-reset/reset-form.tt2', $ctx)
                 || die $tt->error();
-            return Apache2::Const::DECLINED;
+            return Apache2::Const::OK;
         }
         $ctx->{'status'} = { 
             style => 'success',