accounts are now real

This commit is contained in:
2025-12-03 22:51:57 -05:00
parent 4aa22de61b
commit 24bb65bf7b
15 changed files with 679 additions and 163 deletions

View File

@@ -1,7 +1,11 @@
pub const CLIENT_DATA: &str = "client_data";
#[derive(Default, bincode::Encode, bincode::Decode)]
#[derive(Debug, Default, bincode::Encode, bincode::Decode)]
pub struct ClientData {
pub ip: String,
pub username: String,
/// TODO: not store this as plain string?
/// need to figure out crypto stuff
/// or store session token
pub password: String,
}