This commit is contained in:
2026-02-17 17:39:42 -05:00
parent 61e9c2ac5c
commit 227a622adc
7 changed files with 133 additions and 62 deletions

View File

@@ -228,7 +228,6 @@ impl RecvHandler<ClientRequestMsg> for ClientHandler {
let _ = replier.send(LoginResp::InvalidPassword).await;
return;
}
println!("login: \"{username}\"");
*self.state.write().await = ClientState::Authed(id);
let _ = replier.send(LoginResp::Ok { id }).await;
}