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/template.rs | |
| parent | 306883ce3efb2383bf37c23dd1961117e84b69cd (diff) | |
Remove passcodes and session listing
Instead, the session ID is treated as a secret
Diffstat (limited to 'src/template.rs')
| -rw-r--r-- | src/template.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/template.rs b/src/template.rs index 8a36a09..34fe69a 100644 --- a/src/template.rs +++ b/src/template.rs @@ -1,12 +1,9 @@ use crate::session::Session; use askama::Template; -use std::collections::HashMap; #[derive(Template)] #[template(path = "index.html")] -pub struct IndexTemplate<'a> { - pub sessions: &'a HashMap<String, Session>, -} +pub struct IndexTemplate; #[derive(Template)] #[template(path = "session.html")] |
