Skip to content

Commit

Permalink
fix: SSO Login (#3626)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang authored Feb 3, 2023
1 parent d240894 commit bbdb5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/internal/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func ExecuteLogin(ctx context.Context, helper *cmdutil.Helper, args *turbostate.
return nil
}

if args.Command.Login.SsoTeam != "" {
return errors.New("internal error: SSO login should be handled by Rust")
if args.Command.Login.SsoTeam == "" {
return errors.New("internal error: non-SSO login should be handled by Rust")
}

login := login{
Expand Down

0 comments on commit bbdb5e5

Please sign in to comment.