Skip to content

Commit

Permalink
Minor(UX): Ask for one-time passowrd, not totp (#35)
Browse files Browse the repository at this point in the history
A user hit an issue where the term TOTP during initial setup was not intuitive, resulting in entering the wrong setup information.

This should resolve the issue by being explicit about what info we're asking for.
  • Loading branch information
pop authored Nov 4, 2021
1 parent ced1f28 commit 5f8ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/okta/factors.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func promptForFactor(factors []*Factor, p input.Prompter) (int, error) {
func verifyTOTP(c *Client, f *Factor, a *Auth, p input.Prompter) error {
var resp io.Reader
for {
totp, err := p.Prompt("Enter TOTP: ")
totp, err := p.Prompt("Enter Okta One-Time Password (TOTP): ")
if err != nil {
return err
}
Expand Down

0 comments on commit 5f8ce08

Please sign in to comment.