Use UTC dates in token issuedAt field.
This commit is contained in:
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user