summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorTerryHowe <terrylhowe@gmail.com>2015-07-13 07:44:24 -0600
committerTerryHowe <terrylhowe@gmail.com>2015-07-13 07:44:24 -0600
commitef0cf00b3367b3656c94b4972bc757ee0026876d (patch)
tree283dcb168d1e598f7c1a34b6a2b106691a5962f7 /openstackclient
parent1462fb7f49d1ebd4868fee0c997ceb85c45582dc (diff)
downloadpython-openstackclient-ef0cf00b3367b3656c94b4972bc757ee0026876d.tar.gz
Fix interactive password prompt
Change-Id: Ie0e7a9cd6016b5c646a111a76e8372e10602a25c Closes-Bug: #1473862
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/clientmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index fae95630..c77a7848 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -125,7 +125,7 @@ class ClientManager(object):
# password auth is requested.
if (self.auth_plugin_name.endswith('password') and
not self._cli_options.auth.get('password', None)):
- self._cli_options.os_password = self._pw_callback()
+ self._cli_options.auth['password'] = self._pw_callback()
(auth_plugin, self._auth_params) = auth.build_auth_params(
self.auth_plugin_name,