Skip to content

Commit ef38496

Browse files
authored
Fix Studio token validation (#5322)
1 parent 8696107 commit ef38496

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extension/src/setup/studio.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export const isStudioAccessToken = (text?: string): boolean => {
1414
if (!text) {
1515
return false
1616
}
17-
return text.startsWith('isat_') && text.length >= 53
17+
return (
18+
(text.startsWith('isat_') || text.startsWith('dsat_')) && text.length >= 53
19+
)
1820
}
1921

2022
export class Studio extends Disposable {

0 commit comments

Comments
 (0)