Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
d8d5ecb2
Commit
d8d5ecb2
authored
Sep 03, 2018
by
Sietse Ringers
Browse files
Seed prng for session tokens
parent
18f7cdf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/backend/sessions.go
View file @
d8d5ecb2
...
...
@@ -56,6 +56,7 @@ var (
)
func
init
()
{
rand
.
Seed
(
time
.
Now
()
.
UnixNano
())
go
sessions
.
deleteExpired
()
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment