Compare commits

..

No commits in common. "d5dd05d14b029bb5458e979203ae8ae1ac020a50" and "234ec46f36755c261cf43ac9ac7c56741b1dca5a" have entirely different histories.

View File

@ -698,7 +698,7 @@ bool CNLoginServer::checkToken(CNSocket* sock, Database::Account& account, std::
} }
} }
// cookie check disabled or failed; check to see if it's a plaintext password // cookie check failed; check to see if it's a plaintext password sent by auto-login
if (CNLoginServer::isAuthMethodAllowed(AuthMethod::PASSWORD) if (CNLoginServer::isAuthMethodAllowed(AuthMethod::PASSWORD)
&& CNLoginServer::isPasswordCorrect(account.Password, token)) { && CNLoginServer::isPasswordCorrect(account.Password, token)) {
return true; return true;