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

only shortcircuit the login command if the RAILWAY_API_TOKEN is found #569

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

coffee-cup
Copy link
Contributor

This fixes a bug where if you have an invalid auth token, you will not be able to re login without running railway logout first. We only want to use the existing authenticated client if the RAILWAY_API_TOKEN variable is set.

@coffee-cup coffee-cup added the release/patch Author patch release label Oct 23, 2024
@coffee-cup coffee-cup merged commit e4b1ca8 into master Oct 23, 2024
6 of 7 checks passed
@coffee-cup coffee-cup deleted the jr/only-shortcircuit-login-api-token branch October 23, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Author patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant