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

Fix travis login for users with 2fa #454

Merged
merged 2 commits into from
Nov 22, 2016
Merged

Fix travis login for users with 2fa #454

merged 2 commits into from
Nov 22, 2016

Conversation

rkh
Copy link
Contributor

@rkh rkh commented Nov 22, 2016

This pull request does two things:

  • Use OTP for deleting temporary token, if OTP is expired prompt user for a new on. This fixes the login for any user that has 2fa enabled on GitHub.
  • If a token with the same note already exists, delete it. This fixes the login command for any user for whom the command previously aborted after creating the token.

See https://github.com/travis-pro/team-teal/issues/1456

@rkh rkh merged commit 1dd7da6 into master Nov 22, 2016
@rkh rkh deleted the rkh-2fa-login branch November 22, 2016 16:49
@rkh rkh removed the in progress label Nov 22, 2016
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.

1 participant