diff --git a/src/server/AuthorizationManager.cpp b/src/server/AuthorizationManager.cpp index 34882b0..ec4c4c2 100644 --- a/src/server/AuthorizationManager.cpp +++ b/src/server/AuthorizationManager.cpp @@ -29,7 +29,7 @@ // -- token management #define TIMEOUTSECS 900 // (15 minutes) time before a token becomes invalid #define AUTHCHARS QString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") -#define TOKENLENGTH 20 +#define TOKENLENGTH 40 // -- Connection failure limitations //#define AUTHFAILLIMIT 5 //number of sequential failures before IP is blocked for a time @@ -213,7 +213,7 @@ QString AuthorizationManager::GenerateEncCheckString(){ QString AuthorizationManager::LoginUC(QHostAddress host, QString encstring){ //Login w/ SSL certificate bool ok = false; - qDebug() << "SSL Auth Attempt"; + //qDebug() << "SSL Auth Attempt"; //First clean out any old strings/keys QStringList pubkeys = QStringList(HASH.keys()).filter("SSL_CHECK_STRING/"); //temporary, re-use variable below for(int i=0; i