Fix API token not being displayed after creation.

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

maubin
Review Board
release-5.0.x
reviewboard

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.

Commits

Files

Loading...