Skip to content

Commit

Permalink
Fix another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yungcomputerchair committed Nov 17, 2024
1 parent 3467fe1 commit d5dd05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servers/CNLoginServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d5dd05d

Please sign in to comment.