Skip to content

Commit

Permalink
Fixed issue where no scopes message was saying user id instead of scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Xemdo committed Jun 20, 2024
1 parent 30cf222 commit 28609fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func loginCmdRun(cmd *cobra.Command, args []string) error {
lightYellow("Expires In: %v\n", white("%v (%v)", strconv.FormatInt(r.ExpiresIn, 10), expiresInTimestamp))

if len(r.Scopes) == 0 {
lightYellow("User ID: %v\n", white("None"))
lightYellow("Scopes: %v\n", white("None"))
} else {
lightYellow("Scopes:\n")
for _, s := range r.Scopes {
Expand Down

0 comments on commit 28609fb

Please # to comment.