From de5bf00e8b9ffc18896e7cff4c2d753ac894def9 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 24 Aug 2015 11:21:11 +1200 Subject: [PATCH] Revert "Bug 14644: unbreak SIP2 terminal login when using telnet transport" This reverts commit c68fc8ad3e5069e52b9bd0487faa3094e9eee4cc. Realised just a bit too late that this didn't apply to 3.18 --- C4/SIP/SIPServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm index 8722ab6b3d..20a97c65a6 100755 --- a/C4/SIP/SIPServer.pm +++ b/C4/SIP/SIPServer.pm @@ -205,7 +205,7 @@ sub telnet_transport { syslog("LOG_DEBUG", "telnet_transport 2: uid length %s, pwd length %s", length($uid), length($pwd)); if (exists ($config->{accounts}->{$uid}) - && ($pwd eq $config->{accounts}->{$uid}->{password})) { + && ($pwd eq $config->{accounts}->{$uid}->password())) { $account = $config->{accounts}->{$uid}; if ( C4::SIP::Sip::MsgType::login_core($self,$uid,$pwd) ) { last; -- 2.39.5