craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 635 forks source link

[5.x]: GraphQL token is shown as to never expire when expiry date is set. #16029

Closed kbergha closed 1 week ago

kbergha commented 1 week ago

What happened?

Description

GraphQL tokens is shown as "Expires - Never" in the overview of all token, even tough a date+time is set on the token.

Image Image

Steps to reproduce

  1. Add a token with an expiry date/time.
  2. Go to the GraphQL Tokens / overview page.

Expected behavior

List should show the set expiry date/time.

Actual behavior

List shows "Never" for expiry.

Craft CMS version

5.4.8

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

i-just commented 1 week ago

Hi, thanks for reporting! I raised a PR for this.

brandonkelly commented 1 week ago

Craft 4.12.9 and 5.4.10 are out with that fix. Thanks again!