Revision: 41727
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41727&view=rev
Author:   davidloman
Date:     2010-12-20 19:42:50 +0000 (Mon, 20 Dec 2010)

Log Message:
-----------
Change logic since '0' is a valid Account ID.

Modified Paths:
--------------
    rt^3/trunk/src/GS/AccountManager.cxx

Modified: rt^3/trunk/src/GS/AccountManager.cxx
===================================================================
--- rt^3/trunk/src/GS/AccountManager.cxx        2010-12-20 19:32:08 UTC (rev 
41726)
+++ rt^3/trunk/src/GS/AccountManager.cxx        2010-12-20 19:42:50 UTC (rev 
41727)
@@ -89,7 +89,7 @@
 
        id =    this->validateLoginCreds(uname, passwd);
 
-       if (id <= 0) {
+       if (id < 0) {
                log->logINFO("AccountManager", "Authentication FAILED. User: '" 
+ uname + "', accountID: " + QString::number(id));
                return NULL;
        }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to