Skip to content

Commit 5fcef9b

Browse files
authored
fix: Change token input field to Password type (#29)
## Summary - Changes token text field type from General to Password to hide sensitive token values ## Test plan - Install the plugin and verify token input is masked <img width="446" alt="Screenshot 2025-03-11 at 04 20 38" src="https://github.com/user-attachments/assets/43dae367-a456-4d0f-b9a1-17079b98346c" /> Resolves #3 📱 Generated with [Claude Code](https://claude.ai/code)
1 parent 1d81e7c commit 5fcef9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/kotlin/com/coder/toolbox/views/TokenPage.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TokenPage(
2525
token: Pair<String, Source>?,
2626
private val onToken: ((token: String) -> Unit),
2727
) : CoderPage(context, context.i18n.ptrl("Enter your token")) {
28-
private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.General)
28+
private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.Password)
2929

3030
/**
3131
* Fields for this page, displayed in order.

0 commit comments

Comments
 (0)