From: dbs Date: Thu, 3 Jun 2010 04:05:39 +0000 (+0000) Subject: Apache2::Const::DECLINED leads to ugly error dialogues. I'm OK, you're OK. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=220bde5b30fced8093fd8d91f844187760d33d90;p=contrib%2FConifer.git Apache2::Const::DECLINED leads to ugly error dialogues. I'm OK, you're OK. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16571 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/PasswordReset.pm b/Open-ILS/src/perlmods/OpenILS/WWW/PasswordReset.pm index 4c57a74cd9..2e3fc2fbc0 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/PasswordReset.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/PasswordReset.pm @@ -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',