Commit d8d5ecb2 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Seed prng for session tokens

parent 18f7cdf8
......@@ -56,6 +56,7 @@ var (
)
func init() {
rand.Seed(time.Now().UnixNano())
go sessions.deleteExpired()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment