aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2023-10-07 10:20:11 +0000
committerr <r@freesoftwareextremist.com>2023-10-07 10:20:11 +0000
commit927072e26a470ed3084e36ae2413f4dfd088905f (patch)
tree830296c74ceac055405b596a40f59265b9d4e386 /util
parentc7f40c1e1568bf3f0fcb15c0fc0d01f0f253675d (diff)
downloadbloat-927072e26a470ed3084e36ae2413f4dfd088905f.tar.gz
bloat-927072e26a470ed3084e36ae2413f4dfd088905f.zip
Remove unused session ID field
Diffstat (limited to 'util')
-rw-r--r--util/rand.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/rand.go b/util/rand.go
index 90e66a5..f1692b9 100644
--- a/util/rand.go
+++ b/util/rand.go
@@ -16,10 +16,6 @@ func NewRandID(n int) (string, error) {
return enc.EncodeToString(data), nil
}
-func NewSessionID() (string, error) {
- return NewRandID(24)
-}
-
func NewCSRFToken() (string, error) {
return NewRandID(24)
}