Browse Source

0.8.70

pull/1402/head
lumapu 12 months ago
parent
commit
91e816e941
  1. 4
      src/web/Protection.h

4
src/web/Protection.h

@ -74,10 +74,8 @@ class Protection {
std::array<uint8_t, 4> ip;
ah::ip2Arr(static_cast<uint8_t*>(ip.data()), clientIp);
for(uint8_t i = 0; i < 4; i++) {
if(mLoginIp[i] != ip[i]) {
DPRINTLN(DBG_INFO, "ip nicht gleich!");
if(mLoginIp[i] != ip[i])
return true;
}
}
return false;

Loading…
Cancel
Save