Update error message to use login command

Unless I'm mistaken, when there is no existing token for an app, the `login` command needs to be run to obtain a token (not the `token` command, which itself doesn't generate a token).
This commit is contained in:
Security Generation 2020-11-18 15:15:54 +01:00 committed by Silver
parent cf562ef8c8
commit a4f185fd28
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ func generateToken(c *cli.Context) error {
}
tok, err := token.GetAppTokenIfExists(appURL)
if err != nil || tok == "" {
fmt.Fprintln(os.Stderr, "Unable to find token for provided application. Please run token command to generate token.")
fmt.Fprintln(os.Stderr, "Unable to find token for provided application. Please run login command to generate token.")
return err
}