Skip to content

Commit

Permalink
Clarify that API keys expire when generating a new key
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska committed Oct 23, 2024
1 parent 5bedc53 commit 1cb1e20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/components/Settings/ApiKeySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ function ApiKeyDialog({
<p>
<FormattedMessage
id="settings.api_key.success"
defaultMessage="Your new API key has been generated. Be sure to copy it below as you won’t be able to view it again later. We recommend storing your API key in a password manager. Do not share your API key with anyone else."
defaultMessage="Your new API key has been generated and is valid for {days, number} days. Be sure to copy it below as you won’t be able to view it again later. We recommend storing your API key in a password manager. Do not share your API key with anyone else."
// Right now, the key lifetime isn't configurable, but that might
// change in the future
values={{ days: 90 }}
/>
</p>
<p>
Expand Down

0 comments on commit 1cb1e20

Please sign in to comment.