Skip to content

[pat] Remove Personal from Access Tokens UI #15099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/dashboard/src/settings/PersonalAccessTokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export function PersonalAccessTokenCreateView() {
</>
<div className="max-w-md mb-6">
<div className="flex flex-col mb-4">
<h3>{editTokenID ? "Edit" : "New"} Personal Access Token</h3>
<h3>{editTokenID ? "Edit" : "New"} Access Token</h3>
{editTokenID ? (
<>
<h2 className="text-gray-500 dark:text-gray-400 dark:text-gray-400">
Expand Down Expand Up @@ -338,7 +338,7 @@ export function PersonalAccessTokenCreateView() {
</button>
</Link>
)}
<button onClick={handleConfirm}>{editTokenID ? "Update" : "Create"} Personal Access Token</button>
<button onClick={handleConfirm}>{editTokenID ? "Update" : "Create"} Access Token</button>
</div>
</PageWithSettingsSubMenu>
</div>
Expand Down Expand Up @@ -387,7 +387,7 @@ function ListAccessTokensView() {
<>
<div className="flex items-center sm:justify-between mb-4">
<div>
<h3>Personal Access Tokens</h3>
<h3>Access Tokens</h3>
<h2 className="text-gray-500">Create or regenerate access tokens.</h2>
</div>
{tokens.length > 0 && (
Expand Down