From: Lee Howard Date: Fri, 29 Apr 2005 00:24:22 +0000 (+0000) Subject: Bug 647: still allow password-less logins X-Git-Tag: HYLAFAX-4_2_2BETA1~36 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4641e63303a7f88ef40b883573d57951bf93c3da;p=thirdparty%2FHylaFAX.git Bug 647: still allow password-less logins --- diff --git a/hfaxd/User.c++ b/hfaxd/User.c++ index 42a6447b..6c927e63 100644 --- a/hfaxd/User.c++ +++ b/hfaxd/User.c++ @@ -58,7 +58,7 @@ HylaFAXServer::checkUser(const char* name) // We use checkuser() like this to avoid compiler quirks // that surface with or-ing them. if (checkuser(db, name)) check = true; - if (checkuser(name)) check = true; + if (!check && checkuser(name)) check = true; fclose(db); } else logError("Unable to open the user access file %s: %s",