Bluesky app fork with some witchin' additions 💫

update bad token error message (#8954)

authored by samuel.fm and committed by

GitHub 670995a6 01c466a2

+2 -2
+1 -1
src/lib/hooks/useCleanError.ts
··· 42 42 } 43 43 } 44 44 45 - if (raw.includes('Bad token scope')) { 45 + if (raw.includes('Bad token scope') || raw.includes('Bad token method')) { 46 46 return { 47 47 raw, 48 48 clean: _(
+1 -1
src/lib/strings/errors.ts
··· 17 17 ) { 18 18 return t`The server appears to be experiencing issues. Please try again in a few moments.` 19 19 } 20 - if (str.includes('Bad token scope')) { 20 + if (str.includes('Bad token scope') || str.includes('Bad token method')) { 21 21 return t`This feature is not available while using an App Password. Please sign in with your main password.` 22 22 } 23 23 if (str.startsWith('Error: ')) {