Remove todo

This commit is contained in:
Anna Khanova
2023-12-18 14:38:51 +01:00
parent c70f30d2c9
commit 1d9a756859
2 changed files with 0 additions and 2 deletions

View File

@@ -186,7 +186,6 @@ async fn auth_quirks(
};
info!("fetching user's authentication info");
// TODO(anna): this will slow down both "hacks" below; we probably need a cache.
let allowed_ips = api.get_allowed_ips(extra, &info).await?;
// check allowed list

View File

@@ -431,7 +431,6 @@ async fn connect_to_compute(
application_name: APP_NAME.to_string(),
options: console_options,
};
// TODO(anna): this is a bit hacky way, consider using console notification listener.
if !config.disable_ip_check_for_http {
let allowed_ips = backend.get_allowed_ips(&extra).await?;
if !check_peer_addr_is_in_list(&peer_addr, &allowed_ips) {