Skip to content

Commit

Permalink
Merge pull request #113 from newrelic/fine-grained-pat
Browse files Browse the repository at this point in the history
Fine grained pat
  • Loading branch information
shahramk authored Jan 16, 2024
2 parents 9ff8d13 + 252fe68 commit b14ad13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nerdlets/github-about/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ export default class Setup extends React.PureComponent {
<StackItem>
<Button
onClick={() => setUserToken(userToken)}
disabled={!userToken || userToken.length !== 40}
disabled={
!userToken ||
(userToken.length !== 40 && userToken.length !== 93)
}
type="primary"
>
Set Your GitHub Token
Expand Down

0 comments on commit b14ad13

Please sign in to comment.