From 27e1ef1ad8d7d834054b750708343378ce9e9ec5 Mon Sep 17 00:00:00 2001 From: Jomar Milan Date: Mon, 8 Jun 2026 15:24:03 -0700 Subject: Remove passcodes and session listing Instead, the session ID is treated as a secret --- src/session.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/session.rs') 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>, } @@ -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(), } } -- cgit v1.2.3