accounts are now real
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user