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

2FA token expired #126

Merged
merged 2 commits into from
Nov 19, 2020
Merged

2FA token expired #126

merged 2 commits into from
Nov 19, 2020

Conversation

rumpl
Copy link
Member

@rumpl rumpl commented Nov 19, 2020

- What I did

Fixes #122

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory)

… the token expires

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Comment on lines 64 to 65
reader := bufio.NewReader(streams.In())
return reader.ReadString('\n')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This blocks the user from being able to ctrl + c, either here or in a follow up we should factor this code and use it: https://github.com/docker/hub-tool/blob/main/internal/commands/tag/rm.go#L77-L88

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes! will do

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Copy link
Member

@chris-crone chris-crone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rumpl rumpl merged commit a474609 into main Nov 19, 2020
@rumpl rumpl deleted the feat-only-ask-2fa-code branch November 19, 2020 10:20
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.

Store the password even for 2FA users
2 participants