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:
parent
46c979d0c9
commit
de5bf00e8b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue