Fix API token not being displayed after creation.

Review Request #12583 — Created Sept. 6, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

When creating an API token through the API tokens config page, the page would
need to be reloaded in order for the token to show up in the list of tokens.
This was due to the token's expired field being missing from the list of
attributes for that token item, which prevented the token item from
rendering. This change fixes that, and corrects a separate minor issue in the
docs.

Created new API tokens from the config page and made sure they appeared
immediately on the page.

Summary ID
Fix API token not being displayed after creation.
e57133f29e676ef5cbae51b9ebc97c0d49575b8f
david
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (5ec589a)