mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Use UTC dates in token issuedAt field.
This commit is contained in:
parent
b925bae5de
commit
ea4086243b
1 changed files with 1 additions and 1 deletions
|
@ -1768,7 +1768,7 @@ func handleClientMessage(c *webClient, m clientMessage) error {
|
||||||
tok.IssuedBy = &user
|
tok.IssuedBy = &user
|
||||||
}
|
}
|
||||||
|
|
||||||
now := time.Now()
|
now := time.Now().UTC()
|
||||||
tok.IssuedAt = &now
|
tok.IssuedAt = &now
|
||||||
|
|
||||||
new, err := token.Update(tok, "")
|
new, err := token.Update(tok, "")
|
||||||
|
|
Loading…
Reference in a new issue