| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 31e251a commit f6d2897
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -708,7 +708,9 @@ export const McpDebugCommand = effectCmd({ | |||
| 708 | 708 | prompts.log.info(`Auth status: ${getAuthStatusIcon(authStatus)} ${getAuthStatusText(authStatus)}`) | |
| 709 | 709 | ||
| 710 | 710 | if (entry?.tokens) { | |
| 711 | - prompts.log.info(` Access token: ${entry.tokens.accessToken.substring(0, 20)}...`) | ||
| 711 | + prompts.log.info( | ||
| 712 | + ` Access token: ${entry.tokens.accessToken.length > 8 ? `${entry.tokens.accessToken.slice(0, 4)}***${entry.tokens.accessToken.slice(-4)}` : "***"}`, | ||
| 713 | + ) | ||
| 712 | 714 | if (entry.tokens.expiresAt) { | |
| 713 | 715 | const expiresDate = new Date(entry.tokens.expiresAt * 1000) | |
| 714 | 716 | const isExpired = entry.tokens.expiresAt < Date.now() / 1000 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments