Files
docker-cli/components/engine/api/client
David Calavera 98aeb8772a Always prompt for a password when asking for credentials.
There is a weird behavior where we don't ask for a password
when the user you type in the prompt is the same you have configured
in the config file.

This is the source of many frustrations and also a bug.
If the authentication with a registry fails because the password
is incorrect, we won't ask for the password again with the current logic.

With this change, we also stop calling `CmdLogin` directly when
authentication fails. We don't need to parse flags from the cli or
setting up input destriptiors again, like the current behavior is doing.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 8ed06af0443f4239f446b3cff202d91a61af350f
Component: engine
2016-01-27 18:26:48 -05:00
..
2016-01-20 13:32:19 -08:00
2016-01-20 13:32:19 -08:00
2016-01-20 13:32:19 -08:00
2016-01-20 13:32:19 -08:00
2016-01-26 23:47:02 +11:00
2015-12-29 22:03:39 +08:00
2015-10-08 08:46:21 -04:00
2015-12-29 22:03:39 +08:00
2015-12-29 22:03:39 +08:00
2016-01-20 13:32:19 -08:00
2016-01-20 13:32:19 -08:00
2015-12-29 22:03:39 +08:00
2015-12-29 22:03:39 +08:00
2015-12-29 22:03:39 +08:00