View | Details | Raw Unified | Return to bug 14644
Collapse All | Expand All

(-)a/C4/SIP/SIPServer.pm (-2 / +1 lines)
Lines 205-211 sub telnet_transport { Link Here
205
		syslog("LOG_DEBUG", "telnet_transport 2: uid length %s, pwd length %s", length($uid), length($pwd));
205
		syslog("LOG_DEBUG", "telnet_transport 2: uid length %s, pwd length %s", length($uid), length($pwd));
206
206
207
	    if (exists ($config->{accounts}->{$uid})
207
	    if (exists ($config->{accounts}->{$uid})
208
		&& ($pwd eq $config->{accounts}->{$uid}->password())) {
208
		&& ($pwd eq $config->{accounts}->{$uid}->{password})) {
209
			$account = $config->{accounts}->{$uid};
209
			$account = $config->{accounts}->{$uid};
210
			if ( C4::SIP::Sip::MsgType::login_core($self,$uid,$pwd) ) {
210
			if ( C4::SIP::Sip::MsgType::login_core($self,$uid,$pwd) ) {
211
                last;
211
                last;
212
- 

Return to bug 14644