Skip to content

Commit

Permalink
Fix issue #4944: [Bug]: Missing GitHub token link in account settings
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 12, 2024
1 parent 0cfb132 commit 4181694
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/src/components/modals/AccountSettingsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ function AccountSettingsModal({
type="password"
defaultValue={data?.ghToken ?? ""}
/>
<span>
{t(I18nKey.CONNECT_TO_GITHUB_MODAL$GET_YOUR_TOKEN)}{" "}
<a
href="https://github.com/settings/tokens/new?description=openhands-app&scopes=repo,user,workflow"
target="_blank"
rel="noreferrer noopener"
className="text-[#791B80] underline"
>
{t(I18nKey.CONNECT_TO_GITHUB_MODAL$HERE)}
</a>
</span>
{gitHubError && (
<p className="text-danger text-xs">
{t(I18nKey.ACCOUNT_SETTINGS_MODAL$GITHUB_TOKEN_INVALID)}
Expand Down

0 comments on commit 4181694

Please sign in to comment.