summaryrefslogtreecommitdiff
path: root/internal/models/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/auth.go')
-rw-r--r--internal/models/auth.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/models/auth.go b/internal/models/auth.go
index 5dadf8a..9964cd5 100644
--- a/internal/models/auth.go
+++ b/internal/models/auth.go
@@ -6,9 +6,8 @@ import (
// each session contains the username of the user and the time at which it expires
type Session struct {
- Username string
- CurrentRoom string
- Expiry time.Time
+ Username string
+ Expiry time.Time
}
// we'll use this method later to determine if the session has expired