summaryrefslogtreecommitdiff
path: root/openstackclient/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-10-22 20:04:28 +0000
committerGerrit Code Review <review@openstack.org>2014-10-22 20:04:28 +0000
commitb5bee429a4e57db7b3a2d1778c259c015f69e29c (patch)
tree2f8270782daa1fc2f58235870603a5e3bd4ef326 /openstackclient/api
parent5b7d3ba9dc629b7b37d211d7544558092c2181ac (diff)
parente063246b97a7f31a47aca0a5eb36d571f5df7236 (diff)
downloadpython-openstackclient-b5bee429a4e57db7b3a2d1778c259c015f69e29c.tar.gz
Merge "Clean up shell authentication"
Diffstat (limited to 'openstackclient/api')
-rw-r--r--openstackclient/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py
index e33b72d5..f6e99cdc 100644
--- a/openstackclient/api/auth.py
+++ b/openstackclient/api/auth.py
@@ -62,7 +62,7 @@ def select_auth_plugin(options):
if options.os_url and options.os_token:
# service token authentication
auth_plugin = 'token_endpoint'
- elif options.os_password:
+ elif options.os_username:
if options.os_identity_api_version == '3':
auth_plugin = 'v3password'
elif options.os_identity_api_version == '2.0':