Removed leftover query_fetch_first.
parent
adc4755e8b
commit
8cefc4e574
|
@ -373,9 +373,9 @@ sub check_login {
|
||||||
unless $CanUseLDAPAuth;
|
unless $CanUseLDAPAuth;
|
||||||
|
|
||||||
# Get LDAP server informations
|
# Get LDAP server informations
|
||||||
my($host, $port, $tls, $account, $account_password, $base_dn, $attr_login) = query_fetch_first(
|
my($host, $port, $tls, $account, $account_password, $base_dn, $attr_login) = $dbh->selectrow_array(
|
||||||
$dbh,
|
|
||||||
"SELECT host,port,tls,account,account_password,base_dn,attr_login from auth_sources WHERE id = ?",
|
"SELECT host,port,tls,account,account_password,base_dn,attr_login from auth_sources WHERE id = ?",
|
||||||
|
undef,
|
||||||
$auth_source_id
|
$auth_source_id
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue