Skip to content
Prev Previous commit
Next Next commit
fix: use password field for tokens
  • Loading branch information
fioan89 committed Apr 8, 2025
commit 43f0977cc08f30ed47c85e5255c3bd01e501f420
2 changes: 1 addition & 1 deletion src/main/kotlin/com/coder/toolbox/views/TokenStep.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import kotlinx.coroutines.flow.update
* enter their own.
*/
class TokenStep(private val context: CoderToolboxContext) : WizardStep {
private val tokenField = TextField(context.i18n.ptrl("Token"), "", TextType.General)
private val tokenField = TextField(context.i18n.ptrl("Token"), "", TextType.Password)
private val descriptionField = LabelField(context.i18n.pnotr(""))
private val linkField = LinkField(context.i18n.ptrl("Get a token"), "")
private val errorField = ValidationErrorField(context.i18n.pnotr(""))
Expand Down