summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2015-03-25 12:16:23 +1100
committerJamie Lennox <jamielennox@redhat.com>2015-03-25 12:16:23 +1100
commit60906399736fee4b8bbfc8edf7605f389e4d322b (patch)
treedf2f65e988809e9e380fdc1fbdcb82946d66641e
parente6c25ad380dc1feb0ed121d088151d9fde8cacef (diff)
downloaddjango_openstack_auth-60906399736fee4b8bbfc8edf7605f389e4d322b.tar.gz
Rename AUTH_PLUGINS option
When I redeployed horizon using the newer plugin interfaces I noticed that horizon already had the options AUTHENTICATION_BACKENDS and AUTHENTICATION_URLS. AUTH_PLUGINS is inconsistent here and we should update it to AUTHENTICATION_PLUGINS. There has not been a release with this variable to worry about. Change-Id: Idab7770a9e61979fea15db63764423414665ba49
-rw-r--r--openstack_auth/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_auth/backend.py b/openstack_auth/backend.py
index 437b09b..dca1195 100644
--- a/openstack_auth/backend.py
+++ b/openstack_auth/backend.py
@@ -41,7 +41,7 @@ class KeystoneBackend(object):
if self._auth_plugins is None:
plugins = getattr(
settings,
- 'AUTH_PLUGINS',
+ 'AUTHENTICATION_PLUGINS',
['openstack_auth.plugin.password.PasswordPlugin'])
self._auth_plugins = [utils.import_string(p)() for p in plugins]