Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: mask coder login token to enhance security #12948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 3, 2024
Prev Previous commit
Next Next commit
Update login.go
  • Loading branch information
michaelbrewer authored Apr 14, 2024
commit 1afcb47b0c630c4e3a25662a3251105c7b0cb93c
2 changes: 1 addition & 1 deletion cli/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (r *RootCmd) login() *serpent.Command {
}

sessionToken, err = cliui.Prompt(inv, cliui.PromptOptions{
Text: "Paste your token here:",
Text: "Paste your token here:",
Secret: true,
Validate: func(token string) error {
client.SetSessionToken(token)
Expand Down
Loading