mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-21 21:20:04 +00:00
Fix comment
This commit is contained in:
parent
234ec46f36
commit
3467fe1ff4
@ -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 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user