Stay connected on bounce if no password is set

This commit is contained in:
Joscha 2023-02-26 20:55:52 +01:00
parent f60420afa5
commit d303dfbd0d
2 changed files with 1 additions and 3 deletions

View file

@ -498,7 +498,6 @@ impl Instance {
conn.tx().send_only(cmd);
} else {
iwarn!(config, "Auth required but no password configured");
break;
}
}
Ok(Data::DisconnectEvent(ev)) => {
@ -513,8 +512,6 @@ impl Instance {
on_event(Event::Packet(config.clone(), packet, snapshot));
}
Ok(())
}
async fn handle_requests(