Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vguptarippling committed May 3, 2024
1 parent 1ab173a commit c8cfba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rippling_cli/cli/commands/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def login(ctx) -> None:
if ctx.obj.oauth_token:
click.echo("Already logged in")
else:
click.echo("Initiating login flow...")
code_verifier, code_challenge = PKCE.generate_pkce_pair(DEFAULT_CODE_VERIFIER_LENGTH)

token = OAuthToken(client_id, code_challenge, CODE_CHALLENGE_METHOD)
Expand Down
2 changes: 1 addition & 1 deletion rippling_cli/cli/commands/logout.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def logout(ctx) -> None:
oauth_token = ctx.obj.oauth_token

if not oauth_token:
click.echo("You are not logged in. Please log in first.")
click.echo("You are not logged in.")
return

logout_successful = logout_api(oauth_token)
Expand Down

0 comments on commit c8cfba5

Please sign in to comment.