Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't accept Replicate API tokens for CLI login #1978

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

nickstenning
Copy link
Member

If the token pasted for CLI login starts with r8_, reject it with an error message before we even start.

This also clears up some of the surrounding copy, which is pretty confusing and could easily have led to people thinking an API token was valid here.

If the token pasted for CLI login starts with `r8_`, reject it with an
error message before we even start.

This also clears up some of the surrounding copy, which is pretty
confusing and could easily have led to people thinking an API token was
valid here.
@nickstenning nickstenning requested a review from a team October 7, 2024 14:52
@nickstenning nickstenning merged commit be927af into main Oct 7, 2024
15 checks passed
@nickstenning nickstenning deleted the dont-accept-replicate-api-tokens-for-cli-auth branch October 7, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants