From 3519f71b67c457ae583048bcdcc6720928360faa Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 11 Mar 2025 04:05:06 +0500 Subject: [PATCH] fix: Change token input field from General to Password type to hide sensitive token values --- src/main/kotlin/com/coder/toolbox/views/TokenPage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt b/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt index 4c2b016..1c0a5f7 100644 --- a/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt +++ b/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt @@ -25,7 +25,7 @@ class TokenPage( token: Pair?, private val onToken: ((token: String) -> Unit), ) : CoderPage(context, context.i18n.ptrl("Enter your token")) { - private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.General) + private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.Password) /** * Fields for this page, displayed in order. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy