Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR
writing to STDOUT breaks plack when running with DEBUG=1 Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
69a13493b4
commit
d0b2d72e0b
1 changed files with 1 additions and 1 deletions
|
@ -1424,7 +1424,7 @@ sub checkpw {
|
|||
|
||||
my ( $dbh, $userid, $password, $query ) = @_;
|
||||
if ($ldap) {
|
||||
$debug and print "## checkpw - checking LDAP\n";
|
||||
$debug and print STDERR "## checkpw - checking LDAP\n";
|
||||
my ($retval,$retcard,$retuserid) = checkpw_ldap(@_); # EXTERNAL AUTH
|
||||
($retval) and return ($retval,$retcard,$retuserid);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue