Skip to content

Commit 5ecba6d

Browse files
committed
Add mask for session token prompt
1 parent 0a43941 commit 5ecba6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/login.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ func login() *cobra.Command {
144144

145145
apiKey, err := prompt(cmd, &promptui.Prompt{
146146
Label: "Paste your token here:",
147+
Mask: '*',
147148
Validate: func(token string) error {
148149
client.SessionToken = token
149150
_, err := client.User(cmd.Context(), "me")

0 commit comments

Comments
 (0)
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