Fix another comment

This commit is contained in:
Gent Semaj 2024-11-16 20:11:25 -08:00
parent 3467fe1ff4
commit d5dd05d14b
Signed by untrusted user: ycc
GPG Key ID: 2D76C57BF6BEADC4

View File

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