Remove connection whitelisting on user connect. (#306)

This commit is contained in:
Savinda Senevirathne
2021-05-12 13:49:10 +05:30
committed by GitHub
parent 63f62228c2
commit 3988828ac7

View File

@@ -20,7 +20,6 @@ namespace usr
// Allow connection only if the maximum capacity is not reached. 0 means allowing unlimited connections.
if ((conf::cfg.user.max_connections == 0) || (usr::ctx.users.size() < conf::cfg.user.max_connections))
{
corebill::add_to_whitelist(session.host_address);
LOG_DEBUG << "User client connected " << session.display_name();
// As soon as a user connects, we issue them a challenge message. We remember the