95e1cf6673
If login fails, we now call validate again to get the reason for the failure, and then surface it to the user of the CLI. This allows for more actionable responses, such as: $ docker login 10.0.2.2:5000 Username (devtable): devtable Password: Error response from daemon: Get http://10.0.2.2:5000/v2/: unauthorized: Client login with unencrypted passwords is disabled. Please generate an encrypted password in the user admin panel for use here. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
blob.py | ||
catalog.py | ||
errors.py | ||
MAINTAINERS | ||
manifest.py | ||
tag.py | ||
v2auth.py |