Commit ea408624 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use UTC dates in token issuedAt field.

parent b925bae5
......@@ -1768,7 +1768,7 @@ func handleClientMessage(c *webClient, m clientMessage) error {
tok.IssuedBy = &user
}
now := time.Now()
now := time.Now().UTC()
tok.IssuedAt = &now
new, err := token.Update(tok, "")
......
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