From 2a7217e5b79d33b4923f82902a0f74b95fd7de8b Mon Sep 17 00:00:00 2001 From: djfiander Date: Sat, 27 May 2006 11:50:01 +0000 Subject: [PATCH] I'm beginning to wonder how many times it'll take me to get the password check right. But this time I actually ran it through the test harness before checking it in. --- Sip/MsgType.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index fb42f00..e963562 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -1160,7 +1160,7 @@ sub handle_patron_enable { $resp .= add_field(FID_VALID_PATRON_PWD, 'N'); } else { # valid patron - if (!defined($patron_pwd) || !$patron->check_password($patron_pwd)) { + if (!defined($patron_pwd) || $patron->check_password($patron_pwd)) { # Don't enable the patron if there was an invalid password $status = $patron->enable; } -- 2.11.0