Skip to content

Commit

Permalink
Fix access token regex (#4188)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakov116 committed Apr 1, 2021
1 parent 1a507c5 commit ee8b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<label>
<strong>Personal token</strong> (optional, <a id="personal-token-link" href="https://github.com/settings/tokens/new?description=Refined%20GitHub&scopes=repo" target="_blank">generate one</a>)<br>
<!-- placeholder is set to enable use of :placeholder-shown CSS selector -->
<input type="text" name="personalToken" spellcheck="false" autocomplete="off" pattern="[\da-f]{40}|gp1_\w{36,251}" placeholder=" ">
<input type="text" name="personalToken" spellcheck="false" autocomplete="off" pattern="[\da-f]{40}|ghp_\w{36,251}" placeholder=" ">
<span id="validation"></span>
</label>
</p>
Expand Down

0 comments on commit ee8b642

Please sign in to comment.