1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +01:00

Use UTC dates in token issuedAt field.

This commit is contained in:
Juliusz Chroboczek 2024-05-08 17:25:28 +02:00
parent b925bae5de
commit ea4086243b

View file

@ -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, "")