Compare commits

...

2 Commits

Author SHA1 Message Date
d5dd05d14b
Fix another comment 2024-11-16 20:11:53 -08:00
3467fe1ff4
Fix comment 2024-11-16 19:40:55 -08:00

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 sent by auto-login // cookie check disabled or failed; check to see if it's a plaintext password
if (CNLoginServer::isAuthMethodAllowed(AuthMethod::PASSWORD) if (CNLoginServer::isAuthMethodAllowed(AuthMethod::PASSWORD)
&& CNLoginServer::isPasswordCorrect(account.Password, token)) { && CNLoginServer::isPasswordCorrect(account.Password, token)) {
return true; return true;