summaryrefslogtreecommitdiffstats
path: root/ipsilon
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-07-17 16:03:15 +0200
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-08-18 09:41:03 +0200
commit7b470b0e494a7ff5a088c3ead2e60754b67282f1 (patch)
tree86dd0984a8ff2a67ff706ed94a67325fa65655c7 /ipsilon
parenta69505f662aadfd38c31ebadab18e1beccc1b95c (diff)
downloadipsilon-7b470b0e494a7ff5a088c3ead2e60754b67282f1.tar.gz
ipsilon-7b470b0e494a7ff5a088c3ead2e60754b67282f1.tar.xz
ipsilon-7b470b0e494a7ff5a088c3ead2e60754b67282f1.zip
Only initialize the Persona IDP when actually enabled
This has the same reasoning as the OpenID patch (commit ac7c20cca81c3d23ee66f224030b316bdff2274a), with additionally that it will otherwise error on loading the signing key. (This is not critical though as it will retry loading and succeed, this is just to make it not spit that error). Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipsilon')
-rw-r--r--ipsilon/providers/personaidp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipsilon/providers/personaidp.py b/ipsilon/providers/personaidp.py
index f0146db..2a28ba9 100644
--- a/ipsilon/providers/personaidp.py
+++ b/ipsilon/providers/personaidp.py
@@ -54,7 +54,6 @@ Provides Persona authentication infrastructure. """
return self.get_config_value('allowed domains')
def get_tree(self, site):
- self.init_idp()
self.page = Persona(site, self)
# self.admin = AdminPage(site, self)