Skip to content

Commit

Permalink
CLOUDP-250828 Fix difference between atlas whoami and `atlas auth w…
Browse files Browse the repository at this point in the history
…hoami` (#2973)
  • Loading branch information
fmenezes authored May 27, 2024
1 parent ae18265 commit b49312e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/cli/root/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,10 @@ func shouldCheckCredentials(cmd *cobra.Command) AuthRequirements {
fmt.Sprintf("%s %s", atlas, "completion"): NoAuth, // completion commands do not require credentials
fmt.Sprintf("%s %s", atlas, "config"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "auth"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "register"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "login"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "logout"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "whoami"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "setup"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "register"): NoAuth, // user wants to set credentials
fmt.Sprintf("%s %s", atlas, "quickstart"): NoAuth, // command supports login
Expand Down

0 comments on commit b49312e

Please sign in to comment.