Skip to content

Commit

Permalink
Fix Studio token validation (#5322)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon authored Feb 21, 2024
1 parent 8696107 commit ef38496
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension/src/setup/studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export const isStudioAccessToken = (text?: string): boolean => {
if (!text) {
return false
}
return text.startsWith('isat_') && text.length >= 53
return (
(text.startsWith('isat_') || text.startsWith('dsat_')) && text.length >= 53
)
}

export class Studio extends Disposable {
Expand Down

0 comments on commit ef38496

Please sign in to comment.