Revert "Bug 14644: unbreak SIP2 terminal login when using telnet transport"

This reverts commit c68fc8ad3e.

Realised just a bit too late that this didn't apply to 3.18
This commit is contained in:
Liz Rea 2015-08-24 11:21:11 +12:00
parent 46c979d0c9
commit de5bf00e8b
1 changed files with 1 additions and 1 deletions

View File

@ -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;