summaryrefslogtreecommitdiff
path: root/source/options.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/options.tsx')
-rw-r--r--source/options.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/options.tsx b/source/options.tsx
index 556a5b89..2dae5ae0 100644
--- a/source/options.tsx
+++ b/source/options.tsx
@@ -95,6 +95,12 @@ async function updateStorageUsage(area: 'sync' | 'local'): Promise<void> {
async function validateToken(): Promise<void> {
reportStatus({});
const tokenField = select('input[name="personalToken"]')!;
+
+ if (tokenField.value.startsWith('github_pat_')) {
+ // Validation not supported yet https://github.com/refined-github/refined-github/issues/6092
+ return;
+ }
+
if (!tokenField.validity.valid || tokenField.value.length === 0) {
expandTokenSection();
return;