Ignore loopback for now

This commit is contained in:
momo5502 2023-04-30 13:45:21 +02:00
parent 344128770b
commit 96a41ac35c

View File

@ -228,7 +228,8 @@ namespace auth
0x1412E15E0, 0x14016DDC0)); 0x1412E15E0, 0x14016DDC0));
get_challenge(&target, challenge.data(), challenge.size()); get_challenge(&target, challenge.data(), challenge.size());
if (!utils::cryptography::ecc::verify_message(key, challenge, buffer.read_string())) if (!utils::cryptography::ecc::verify_message(key, challenge, buffer.read_string()) && target.type !=
game::NA_LOOPBACK)
{ {
network::send(target, "error", "Bad signature"); network::send(target, "error", "Bad signature");
return; return;