diff options
| author | Jomar Milan <jomarm@jomarm.com> | 2026-06-08 15:24:03 -0700 |
|---|---|---|
| committer | Jomar Milan <jomarm@jomarm.com> | 2026-06-08 15:24:03 -0700 |
| commit | 27e1ef1ad8d7d834054b750708343378ce9e9ec5 (patch) | |
| tree | fd8854f4fbb42b7f4f629d420df3fa29b35364dd /src/session.rs | |
| parent | 306883ce3efb2383bf37c23dd1961117e84b69cd (diff) | |
Remove passcodes and session listing
Instead, the session ID is treated as a secret
Diffstat (limited to 'src/session.rs')
| -rw-r--r-- | src/session.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/session.rs b/src/session.rs index 06ec483..6aeee9f 100644 --- a/src/session.rs +++ b/src/session.rs @@ -3,7 +3,6 @@ use std::collections::HashMap; pub struct Session { pub steam_name: String, - pub passcode: String, pub hands: HashMap<String, Vec<HandObject>>, } @@ -40,10 +39,9 @@ pub struct CustomDeck { } impl Session { - pub fn new(steam_name: String, passcode: String) -> Self { + pub fn new(steam_name: String) -> Self { Session { steam_name, - passcode, hands: HashMap::new(), } } |
